Protocols

The following protocols are available globally.

  • Defines the events that an MDCAppBarNavigationController may send to a delegate.

    See more

    Declaration

    Objective-C

    @protocol MDCAppBarNavigationControllerDelegate <UINavigationControllerDelegate>
  • The MDCFlexibleHeaderViewDelegate protocol allows a delegate to respond to changes in the header view’s state.

    The delegate is typically the UIViewController that owns this flexible header view.

    See more

    Declaration

    Objective-C

    @protocol MDCFlexibleHeaderViewDelegate <NSObject>
  • This delegate makes it possible to customize which ancestor view controller is used when inferTopSafeAreaInsetFromViewController is enabled on MDCFlexibleHeaderViewController.

    See more

    Declaration

    Objective-C

    @protocol MDCFlexibleHeaderSafeAreaDelegate
  • An object may conform to this protocol in order to receive layout change events caused by a MDCFlexibleHeaderView.

    See more

    Declaration

    Objective-C

    @protocol MDCFlexibleHeaderViewLayoutDelegate <NSObject>
  • This protocol defines all of the properties on UINavigationItem that can be listened to by MDCNavigationBar.

    See more

    Declaration

    Objective-C

    @protocol MDCUINavigationItemObservables <NSObject>