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.

@property (nonatomic, readonly) BOOL isSuccessful

Discussion

Indicates the success or failure of the given operation.

Declared In

TWSResult.h