TWSResult Class Reference
Inherits from | NSObject |
---|---|
Declared in | TWSResult.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 TWSError if the operation failed.
@property (nonatomic, strong, readonly, nullable) TWSError *error
Discussion
The result’s TWSError if the operation failed.
Declared In
TWSResult.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
TWSResult.h