MRDAction Protocol Reference

Conforms to NSObject
Declared in MRDAction.h

Overview

MRDAction allows the ability to create actions that can be executed on various types such as when table cells are tapped. Just implement the performWithViewController: method and you are compliant.

– performWithViewController: required method

Executed when this action is executed. A view controller is supplied for potential presentations or navigation stack manipulation.

- (void)performWithViewController:(nonnull UIViewController *)viewController

Parameters

viewController

The view controller that can potentially be manipulated or acted on.

Declared In

MRDAction.h

– performWithViewController:userInfo:

Executed when this action is executed. A view controller is supplied for potential presentations or navigation stack manipulation.

- (void)performWithViewController:(nullable UIViewController *)viewController userInfo:(nullable NSDictionary *)userInfo

Parameters

viewController

The view controller that can potentially be manipulated or acted on.

userInfo

optional User info dictionary to pass along

Declared In

MRDAction.h