OpalImagePicker
A multiple image picker for iOS, written in Swift.
OpalImagePicker is a multiple selection Image Picker for iOS written in Swift. Meant to be a drop in replacement for UIImagePickerController. Compatible with both Swift and Objective-C.
Usage
OpalImagePicker is presented much like UIImagePickerController. As a normal View Controller.
Or
OpalImagePicker has three delegate methods to notify you when images have been selected, or the picker has been cancelled. This is only necessary if you choose not to use the presentOpalImagePickerController(_:animated:select:cancel:completion:) function.
OpalImagePicker also allows you to use external images. You may want to use images from Facebook, Instagram, or Twitter for example. You can do this either using the delegate methods below or the following function in Swift presentOpalImagePickerController(_: animated: maximumSelectionsAllowed: numberOfExternalItems: externalItemsTitle: externalURLForIndex: selectAssets: selectExternalURLs: cancel: completion:) function.
OpalImagePicker supports allowing users to customize user interface features
Installation
OpalImagePicker is available through CocoaPods. To install
it, simply add the following line to your Podfile:
Requirements
- iOS 8.0+
- Xcode 9.0+
- Swift 4 to 5.0