Protocols
-
Use this delegate to handle events that occur in the
See moreContainerController
or any of its children controllers.Declaration
Swift
@objc public protocol ContainerControllerDelegate
-
Use this delegate to handle events that occur in the
See moreLibraryController
.Declaration
Swift
@objc public protocol LibraryControllerDelegate
-
Use this delegate to handle events that occur in the
See moreCameraController
.Declaration
Swift
@objc public protocol CameraControllerDelegate
-
Use this delegate to handle events that occur in the
See moreEditController
.Declaration
Swift
@objc public protocol EditControllerDelegate
-
Set this delegate if you want to make changes to the
See morePreviewController
view layout using the size of the media before or after it has appeared.Declaration
Swift
@objc public protocol PreviewControllerDelegate
-
Your custom UIViewController can optionally conform to this protocol if you wish to customize the top bar of your controller.
See moreDeclaration
Swift
public protocol TopBarProvider
-
Your custom UIViewController can optionally conform to this protocol if you wish to customize the bottom bar of your controller.
See moreDeclaration
Swift
public protocol BottomBarProvider
-
The controller you return from your
SessionFilter
viewController()
function can optionally conform to this protocol if you want it to have access to helper functions that enable dismissing it or provide it contextual information such as which image, video or video segment is currently being edited.Your controller simply needs to conform to this protocol and nothing else. You do not need to implement these functions, only call them.
For example:
See moreSessionFilterExampleController: UIViewController, SessionFilterControllerAdditions { @IBAction func buttonPressed() { // Call the done function to dismiss the controller self.done(animated: true) } }
Declaration
Swift
public protocol SessionFilterControllerAdditions