From e067d8c68fe05dccaf77bc2ca080a2d579dece5e Mon Sep 17 00:00:00 2001 From: haranicle Date: Thu, 5 Oct 2017 00:03:18 +0900 Subject: [PATCH] README --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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`.