FlaneurImagePickerControllerDelegate
public protocol FlaneurImagePickerControllerDelegate: AnyObject
A set of methods that your delegate object must implement to interact with the image picker interface.
-
Tells the delegate that the user is done picking images.
Declaration
Swift
func flaneurImagePickerController(_ picker: FlaneurImagePickerController,Parameters
pickerThe controller object managing the image picker interface.
imagesAn array of picked images of type FlaneurImageDescription.
userInfoArbitrary data that was passed to the controller.
-
Asks the delegate what to do with the new image the user just tapped.
Declaration
Swift
func flaneurImagePickerController(_ picker: FlaneurImagePickerController,Parameters
pickerThe controller object managing the image picker interface.
countThe current size of the image selection (ignoring the new image).
newImageThe new image the user just tapped.
Return Value
The action to perform regarding this new image.
-
Tells the delegate that the user cancelled the pick operation.
Declaration
Swift
func flaneurImagePickerControllerDidCancel(_ picker: FlaneurImagePickerController)Parameters
pickerThe controller object managing the image picker interface.
-
Tells the delegate that the image picker controller met an error. It shouldn’t be called but it can be useful for error reporting on implementing clients.
Declaration
Swift
func flaneurImagePickerControllerDidFail(_ error: FlaneurImagePickerError)Parameters
errorThe error met by the picker.
View on GitHub
FlaneurImagePickerControllerDelegate Protocol Reference