Type Definitions

The following type definitions are available globally.

  • A callback with zoom changed and new zoom level Mainly used by ZoomDelegate

    Declaration

    Objective-C

    typedef void (^ZoomActionCallback)(BOOL, float)

    Swift

    typealias ZoomActionCallback = (Bool, Float) -> Void