Protocols

The following protocols are available globally.

  • Delegate for SPLocationManager. Use this to listen for location related callbacks.

    See more

    Declaration

    Objective-C

    @protocol SPLocationManagerDelegate <NSObject>

    Swift

    protocol SPLocationManagerDelegate : NSObjectProtocol
  • Extends MGLMapViewDelegate with Steerpath features.

    See more

    Declaration

    Objective-C

    @protocol SPMapViewDelegate

    Swift

    protocol SPMapViewDelegate
  • Delegate for SPRouteTracker. Use this to listen for route progression related callbacks.

    See more

    Declaration

    Objective-C

    @protocol SPRouteTrackerDelegate <NSObject>

    Swift

    protocol SPRouteTrackerDelegate : NSObjectProtocol