Protocols

The following protocols are available globally.

  • A protocol for making views reusable within the project

    See more

    Declaration

    Swift

    public protocol ReusableView : AnyObject
  • A protocol that enables a ripple effect (pulse) animation at an object. You can conform your class to this protocol and use the methods to configure the animation.

    See more

    Declaration

    Swift

    public protocol Pulsable : AnyObject
  • A protocol for allowing the addition of a badge in the top right corner

    See more

    Declaration

    Swift

    public protocol Badgeable : UIView
  • A protocol to enable the configuration of a text for the Dialog’s body

    See more

    Declaration

    Swift

    public protocol NatDialogBodyConfigurable
  • A protocol to build the Dialog component

    See more

    Declaration

    Swift

    public protocol NatDialogBuilder : AnyObject
  • A protocol to enable the configuration of a completion handler for the Dialog’s dismiss action

    See more

    Declaration

    Swift

    public protocol NatDialogCompletionHandlerConfigurable
  • A protocol to enable the configuration of a custom view as the Dialog’s body

    See more

    Declaration

    Swift

    public protocol NatDialogCustomBodyConfigurable
  • A protocol to enable the configuration of the dismissable property for the Dialog

    See more

    Declaration

    Swift

    public protocol NatDialogDismissableConfigurable
  • A protocol to enable the configuration of the divider property for the Dialog

    See more

    Declaration

    Swift

    public protocol NatDialogDividerConfigurable
  • A protocol to enable the configuration of a title for the Dialog

    See more

    Declaration

    Swift

    public protocol NatDialogTitleConfigurable
  • A protocol with the delegate methods for navigation drawer configuration

    See more

    Declaration

    Swift

    public protocol NavigationDrawerDelegate : AnyObject
  • Undocumented

    See more

    Declaration

    Swift

    public protocol TabDelegate : AnyObject