diff --git a/README.md b/README.md index e6e94f1..8715c4f 100644 --- a/README.md +++ b/README.md @@ -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`.