Protocols

  • Use this delegate to handle events that occur in the ContainerController or any of its children controllers.

    See more

    Declaration

    Swift

    @objc
    public protocol ContainerControllerDelegate : AnyObject
  • Use this delegate to handle events that occur in the LibraryController.

    See more

    Declaration

    Swift

    @objc
    public protocol LibraryControllerDelegate : AnyObject
  • Use this delegate to handle events that occur in the CameraController.

    See more

    Declaration

    Swift

    @objc
    public protocol CameraControllerDelegate : AnyObject
  • Use this delegate to handle events that occur in the EditController.

    See more

    Declaration

    Swift

    @objc
    public protocol EditControllerDelegate : AnyObject
  • Set this delegate if you want to make changes to the PreviewController view layout using the size of the media before or after it has appeared.

    See more

    Declaration

    Swift

    @objc
    public protocol PreviewControllerDelegate : AnyObject
  • Your custom UIViewController can optionally conform to this protocol if you wish to customize the top bar of your controller.

    TopBarProvider

    See more

    Declaration

    Swift

    public protocol TopBarProvider
  • Your custom UIViewController can optionally conform to this protocol if you wish to customize the bottom bar of your controller.

    BottomBarProvider

    See more

    Declaration

    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:

    SessionFilterExampleController: UIViewController, SessionFilterControllerAdditions {
    
        @IBAction func buttonPressed() {
            // Call the done function to dismiss the controller
            self.done(animated: true)
        }
    }
    
    See more

    Declaration

    Swift

    public protocol SessionFilterControllerAdditions