Instance Method

runWithReply:

Runs the user interaction and asynchronously receives a reply.

Declaration

- (void)runWithReply:(void (^)(BOOL success, NSError *error))reply;

Parameters

reply
success

Whether the user interaction was successful.

error

Contains information about the the error that occurred during the user interaction.

The NSError object is created in the TKErrorDomain domain with a code in the TKErrorCode enumeration.

See Also

Managing User Interaction

cancel

Attempts to cancel an interaction started by calling runWithReply:. For certain interactions, cancelation may not be available.