MMMNavigationHop

Objective-C

@interface MMMNavigationHop : NSObject

Swift

class MMMNavigationHop : NSObject

Opening a deep link can involve following through one or more steps, for example:

1) make sure the main screen is visible and can switch between the pages; 2) move to the recipes page; 3) open recipe with ID N; 4) scroll to ingredients, etc.

This is a single step in such a chain.

  • Name/ID of the hop. Supposed to be a flat string, like ‘recipes’, not a path.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSString *_Nonnull action;

    Swift

    var action: String { get }
  • Optional parameters for this hop only.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSDictionary<NSString *, id> *params;

    Swift

    var params: [String : Any]? { get }
  • Undocumented

    Declaration

    Objective-C

    - (id)initWithAction:(NSString *)action params:(nullable NSDictionary<NSString*, id> *)params NS_DESIGNATED_INITIALIZER;

    Swift

    init(action: String, params: [String : Any]?)
  • Undocumented

    Declaration

    Objective-C

    - (id)initWithAction:(NSString *)action;

    Swift

    convenience init(action: String)
  • Unavailable

    Undocumented

    Declaration

    Objective-C

    - (id)init NS_UNAVAILABLE;