TCHResult Class Reference

Inherits from NSObject
Declared in TCHResult.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 TCHError if the operation failed.

@property (nonatomic, strong, readonly, nullable) TCHError *error

Discussion

The result’s TCHError if the operation failed.

Declared In

TCHResult.h

  resultCode

The result code for the operation.

@property (nonatomic, assign, readonly) NSInteger resultCode

Discussion

The result code for the operation.

Declared In

TCHResult.h

  resultText

The result descriptive text for the operation.

@property (nonatomic, copy, readonly, nullable) NSString *resultText

Discussion

The result descriptive text for the operation.

Declared In

TCHResult.h

  isSuccessful

Indicates the success or failure of the given operation. YES if the operation was successful, NO otherwise

@property (readonly) BOOL isSuccessful

Discussion

Indicates the success or failure of the given operation. YES if the operation was successful, NO otherwise

Declared In

TCHResult.h