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.
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) NSString *resultText
Discussion
The result descriptive text for the operation.
Declared In
TCHResult.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
TCHResult.h