good bye pods
This commit is contained in:
parent
7160ddb436
commit
78a1861f04
|
|
@ -1,15 +0,0 @@
|
||||||
Pod::Spec.new do |s|
|
|
||||||
s.name = 'NohanaImagePicker'
|
|
||||||
s.version = '0.9.0'
|
|
||||||
s.summary = 'A multiple image picker for iOS app.'
|
|
||||||
s.homepage = 'https://github.com/nohana/NohanaImagePicker'
|
|
||||||
s.license = { :type => 'Apache License v2', :file => 'LICENSE' }
|
|
||||||
s.author = { 'nohana' => 'development@nohana.co.jp' }
|
|
||||||
s.source = { :git => 'https://github.com/nohana/NohanaImagePicker.git', :tag => s.version.to_s }
|
|
||||||
s.ios.deployment_target = '8.0'
|
|
||||||
s.source_files = 'NohanaImagePicker/*.swift'
|
|
||||||
s.resource_bundles = {
|
|
||||||
'NohanaImagePicker' => ['NohanaImagePicker/*.{xcassets,storyboard,lproj}']
|
|
||||||
}
|
|
||||||
s.frameworks = 'UIKit', 'Photos'
|
|
||||||
end
|
|
||||||
21
README.md
21
README.md
|
|
@ -72,7 +72,7 @@ picker.canPickAsset = { (asset:Asset) -> Bool in
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
### Carthage (preferable)
|
### Carthage
|
||||||
|
|
||||||
Use [Carthage](https://github.com/Carthage/Carthage).
|
Use [Carthage](https://github.com/Carthage/Carthage).
|
||||||
|
|
||||||
|
|
@ -81,30 +81,13 @@ Use [Carthage](https://github.com/Carthage/Carthage).
|
||||||
- If you want to use Swift2.3, add `github "nohana/NohanaImagePicker", "0.6.1"` instead.
|
- If you want to use Swift2.3, add `github "nohana/NohanaImagePicker", "0.6.1"` instead.
|
||||||
- If you want to use Swift2.2, add `github "nohana/NohanaImagePicker", "0.5.0"` instead.
|
- If you want to use Swift2.2, add `github "nohana/NohanaImagePicker", "0.5.0"` instead.
|
||||||
- Run `carthage update`.
|
- Run `carthage update`.
|
||||||
- Add the followings to your Info.plist:
|
- Add following lines to your Info.plist:
|
||||||
|
|
||||||
```
|
```
|
||||||
<key>NSPhotoLibraryUsageDescription</key>
|
<key>NSPhotoLibraryUsageDescription</key>
|
||||||
<string>To pick some photos.</string>
|
<string>To pick some photos.</string>
|
||||||
```
|
```
|
||||||
|
|
||||||
### Framework with CocoaPods
|
|
||||||
|
|
||||||
Use [CocoaPods](https://cocoapods.org/).
|
|
||||||
|
|
||||||
- Try; ``pod try NohanaImagePicker``
|
|
||||||
|
|
||||||
- Add the followings to your Podfile:
|
|
||||||
|
|
||||||
```ruby
|
|
||||||
use_frameworks!
|
|
||||||
pod "NohanaImagePicker"
|
|
||||||
```
|
|
||||||
|
|
||||||
- If you want to use Swift2.3 write `pod "NohanaImagePicker", "0.6.1"` instead of `pod "NohanaImagePicker"`.
|
|
||||||
|
|
||||||
- Run `pod install`.
|
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
This library is licensed under Apache License v2.
|
This library is licensed under Apache License v2.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue