Type Definitions
The following type definitions are available globally.
-
Completion block used by methods in `ZKUser class.
Declaration
Objective-C
typedef void (^ZKMnemonicCompletionBlock)(NSString *_Nullable, NSError *_Nullable)
Swift
typealias ZKMnemonicCompletionBlock = (String?, Error?) -> Void
-
Completion block used by methods in `ZKUser class.
Declaration
Objective-C
typedef void (^ZKSuccessCompletionBlock)(NSError *_Nullable)
Swift
typealias ZKSuccessCompletionBlock = (Error?) -> Void
-
Completion block used by methods in `ZKUser class.
Declaration
Objective-C
typedef void (^ZKAccountFiatPropertiesCompletionBlock)( ZKAccountFiatProperties *_Nullable, NSError *_Nullable)
Swift
typealias ZKAccountFiatPropertiesCompletionBlock = (ZKAccountFiatProperties?, Error?) -> Void
-
Completion block used by methods in `ZKUser class.
Declaration
Objective-C
typedef void (^ZKAuthenticationConfigCompletionBlock)( ZKAuthenticationConfig *_Nullable, NSError *_Nullable)
Swift
typealias ZKAuthenticationConfigCompletionBlock = (ZKAuthenticationConfig?, Error?) -> Void
-
Completion block used by methods in `ZKUser class.
Declaration
Objective-C
typedef void (^ZKCardDetailsCompletionBlock)(ZKCardDetails *_Nullable, NSError *_Nullable)
Swift
typealias ZKCardDetailsCompletionBlock = (ZKCardDetails?, Error?) -> Void
-
Completion block used by methods in `ZKUser class.
Declaration
Objective-C
typedef void (^ZKPinCompletionBlock)(int32_t, NSError *_Nullable)
Swift
typealias ZKPinCompletionBlock = (Int32, Error?) -> Void
-
Completion block used by methods in
ZKUser
class.Declaration
Objective-C
typedef void (^ZKComposeTransactionCompletionBlock)( ZKComposedTransaction *_Nullable, NSError *_Nullable)
Swift
typealias ZKComposeTransactionCompletionBlock = (ZKComposedTransaction?, Error?) -> Void
-
Completion block used by methods in
ZKUser
class.Declaration
Objective-C
typedef void (^ZKComposeExchangeCompletionBlock)(ZKComposedExchange *_Nullable, NSError *_Nullable)
Swift
typealias ZKComposeExchangeCompletionBlock = (ZKComposedExchange?, Error?) -> Void
-
Completion block used by methods in
ZKUser
class.Declaration
Objective-C
typedef void (^ZKSubmitTransactionCompletionBlock)(ZKTransaction *_Nullable, NSError *_Nullable)
Swift
typealias ZKSubmitTransactionCompletionBlock = (ZKTransaction?, Error?) -> Void
-
Completion block used by methods in
ZKUser
class.Declaration
Objective-C
typedef void (^ZKSubmitExchangeCompletionBlock)(ZKExchange *_Nullable, NSError *_Nullable)
Swift
typealias ZKSubmitExchangeCompletionBlock = (ZKExchange?, Error?) -> Void
-
Completion block used by methods in
ZKUser
class.Declaration
Objective-C
typedef void (^ZKStringifiedJsonCompletionBlock)(NSString *_Nullable, NSError *_Nullable)
Swift
typealias ZKStringifiedJsonCompletionBlock = (String?, Error?) -> Void
-
Declaration
Objective-C
typedef NSDictionary<NSString *, NSDictionary<NSString *, ZKExchangeRate *> *> *ZKExchangeRates
Swift
typealias ZKExchangeRates = NSDictionary
-
Declaration
Objective-C
typedef NSDictionary<NSString *, ZKTransactionFeeRate *> *ZKTransactionFeeRates
Swift
typealias ZKTransactionFeeRates = NSDictionary
-
Declaration
Objective-C
typedef NSDictionary<NSString *, NSDictionary<NSString *, NSDictionary<NSString *, NSArray<ZKExchangeRate *> *> *> *> *ZKHistoricalExchangeRates
Swift
typealias ZKHistoricalExchangeRates = NSDictionary
-
Declaration
Objective-C
typedef void (^ZKHistoricalExchangeRatesCompletionBlock)(ZKHistoricalExchangeRates _Nullable historicalExchangeRates, NSError *_Nullable error)
Swift
typealias ZKHistoricalExchangeRatesCompletionBlock = ([String : [String : [String : [ZKExchangeRate]]]]?, Error?) -> Void