TWMResult Class Reference

Inherits from NSObject
Declared in TWMResult.h

Overview

Result class passed via completion blocks. Contains a boolean property, isSuccessful, which indicates the result of the operation and an error object if the operation failed.

  error

The result’s TWMError if the operation failed.

@property (nonatomic, strong, readonly) TWMError *error

Discussion

The result’s TWMError if the operation failed.

Declared In

TWMResult.h

– isSuccessful

Indicates the success or failure of the given operation.

- (BOOL)isSuccessful

Return Value

Boolean YES if the operation was successful, NO otherwise.

Discussion

Indicates the success or failure of the given operation.

Declared In

TWMResult.h