Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rudifa/ios-photopickerdemo
Taming and wrapping UIImagePickerController (2017)
https://github.com/rudifa/ios-photopickerdemo
Last synced: 24 days ago
JSON representation
Taming and wrapping UIImagePickerController (2017)
- Host: GitHub
- URL: https://github.com/rudifa/ios-photopickerdemo
- Owner: rudifa
- Created: 2018-08-01T12:05:53.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-08-01T15:26:20.000Z (over 6 years ago)
- Last Synced: 2024-10-06T01:41:23.674Z (about 1 month ago)
- Language: Swift
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PhotoPickerDemo
#### Tag `ViewController_is_UIImagePickerDelegate`
The ViewController
- creates an instance of `UIImagePicker`
- configures it to take a photo or to pick a photo from the library
- implements the `UIImagePickerDelegate` methods
- handles the UI interactions#### Tag `class_WrappedImagePicker_in_own_file`
Dependencies on the `UIImagePicker` are confined to the class `WrappedImagePicker`.
The ViewController
- creates an instance of `WrappedImagePicker` which is the `UIImagePickerDelegate`
- calls `WrappedImagePicker` methods to take or pick a photo
- implements the `WrappedImagePickerDelegate` method that delivers the photo taken or picked
- handles the UI interactions