Protocols

The following protocols are available globally.

  • Delegate protocol for MDCInkView. Clients may implement this protocol to receive updates when ink layer start and end.

    See more

    Declaration

    Objective-C

    @protocol MDCInkViewDelegate <NSObject>
  • A protocol for objects that create closed CGPaths of varying sizes.

    See more

    Declaration

    Objective-C

    @protocol MDCShapeGenerating <NSCopying>
  • Delegate protocol for the MDCSnackbarManager.

    See more

    Declaration

    Objective-C

    @protocol MDCSnackbarManagerDelegate <NSObject>
  • A suspension token is returned when messages are suspended by the Snackbar manager.

    Messages are suppressed while a suspension token is kept in memory. Messages will resume being displayed when the suspension token is released or when the suspension token is passed to @c resumeMessagesWithToken.

    Declaration

    Objective-C

    @protocol MDCSnackbarSuspensionToken <NSObject>