good bye pods

This commit is contained in:
haranicle 2017-12-16 19:10:19 +09:00
parent 7160ddb436
commit 78a1861f04
2 changed files with 2 additions and 34 deletions

View File

@ -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

View File

@ -72,7 +72,7 @@ picker.canPickAsset = { (asset:Asset) -> Bool in
## Installation
### Carthage (preferable)
### 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.2, add `github "nohana/NohanaImagePicker", "0.5.0"` instead.
- Run `carthage update`.
- Add the followings to your Info.plist:
- Add following lines to your Info.plist:
```
<key>NSPhotoLibraryUsageDescription</key>
<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
This library is licensed under Apache License v2.