-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/open source template #42
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added some comments, but overall, looks good 👍
@@ -28,7 +30,7 @@ This library supports both **Swift** and **Objective-C**. | |||
|
|||
## Requirements | |||
|
|||
* iOS 10 and above | |||
* iOS 11 and above | |||
* Xcode 10 and above |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure if this would work on Xcode 10.
UserDefaultsTool(), | ||
CustomLocationTool() | ||
], | ||
preferences: optionSwitchItems |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add optionSwitchItems
somewhere because it is hard to understand what they are in this example.
e.g. The app supports Analitycs and you can add an `OptionSwitchTool` which will be shown on the `Preferences` screen and the user can turn it off if he doesn't want it. | ||
|
||
```swift | ||
OptionSwitchItem( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove indentation for this example.
@@ -0,0 +1 @@ | |||
* @nikolamajcen @ZvonimirMedak |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Honestly, I'm totally fine that you set only yourself here as a maintainer. I could be added manually any time you need me 👍
) | ||
|
||
Sentinel.shared.setup(with: configuration) | ||
let configuration = Sentinel.Configuration( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove indentation.
[![Build Status](https://app.bitrise.io/app/56dc4082e9c3bb9e/status.svg?token=aHG6rIR2XDrJ3xNOIO2hXw&branch=master)](https://app.bitrise.io/app/56dc4082e9c3bb9e) | ||
[![Version](https://img.shields.io/cocoapods/v/Sentinel.svg?style=flat)](https://cocoapods.org/pods/Sentinel) | ||
[![License](https://img.shields.io/cocoapods/l/Sentinel.svg?style=flat)](https://cocoapods.org/pods/Sentinel) | ||
[![License](https://img.shields.io/cocoapods/l/Sentinel.svg?style=flat)](https://cocoapods.org/pods/Sentinel#license) | ||
[![Platform](https://img.shields.io/cocoapods/p/Sentinel.svg?style=flat)](https://cocoapods.org/pods/Sentinel) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the better appearance, you can center this if you want :)
#### Swift Package Manager | ||
|
||
If you are using SPM for your dependency manager, add this to the dependencies in your `Package.swift` file: | ||
|
||
```swift | ||
dependencies: [ | ||
.package(url: "https://github.com/infinum/ios-sentinel.git") | ||
.package(url: "https://github.com/infinum/ios-sentinel.git") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indentation needed.
Summary
I have updated the repository to be closer in line with the new open-source-template
Changes
Type
Additional information
Description
Checklist
Additional notes
The rest of the updates will be done through other pull requests