README
This commit is contained in:
parent
2476d779d4
commit
e067d8c68f
|
|
@ -17,7 +17,7 @@ import NohanaImagePicker
|
|||
class MyViewController: UIViewController {
|
||||
let picker = NohanaImagePickerController()
|
||||
|
||||
override func viewDidAppear(animated: Bool) {
|
||||
# override func viewDidAppear(_ animated: Bool) {
|
||||
super.viewDidAppear(animated)
|
||||
self.picker.delegate = self
|
||||
present(self.picker, animated: true, completion: nil)
|
||||
|
|
@ -77,6 +77,7 @@ picker.canPickAsset = { (asset:Asset) -> Bool in
|
|||
Use [Carthage](https://github.com/Carthage/Carthage).
|
||||
|
||||
- Add `github "nohana/NohanaImagePicker"` to your Cartfile.
|
||||
- If you want to use Swift3.0, add `github "nohana/NohanaImagePicker", "0.8.0"` 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.
|
||||
- Run `carthage update`.
|
||||
|
|
|
|||
Loading…
Reference in New Issue