Type Definitions

The following type definitions are available globally.

  • Undocumented

    Declaration

    Objective-C

    typedef void (^AWSCancellationBlock)(void)

    Swift

    typealias AWSCancellationBlock = () -> Void
  • Undocumented

    Declaration

    Objective-C

    typedef _AWSVoid_Nonexistant *AWSVoid

    Swift

    typealias AWSVoid = _AWSVoid_Nonexistant
  • Undocumented

    Declaration

    Objective-C

    typedef id _Nullable (^AWSContinuationBlock)(AWSTask<ResultType> *_Nonnull)

    Swift

    typealias AWSContinuationBlock = (AWSTask<ResultType>) -> Any?
  • Undocumented

    Declaration

    Objective-C

    typedef int(^AWSFMDBExecuteStatementsCallbackBlock)(NSDictionary *resultsDictionary)

    Swift

    typealias AWSFMDBExecuteStatementsCallbackBlock = ([AnyHashable : Any]?) -> Int32
  • Undocumented

    Declaration

    Objective-C

    typedef void(^AWSKSReachabilityCallback)(AWSKSReachability* reachability)

    Swift

    typealias AWSKSReachabilityCallback = (AWSKSReachability?) -> Void
  • Undocumented

    Declaration

    Objective-C

    typedef UIColor AWSDDColor
  • Undocumented

    See more

    Declaration

    Objective-C

    typedef enum : NSUInteger {
        AWSMTLModelEncodingBehaviorExcluded = 0,
        AWSMTLModelEncodingBehaviorUnconditional,
        AWSMTLModelEncodingBehaviorConditional,
    } AWSMTLModelEncodingBehavior
  • Undocumented

    Declaration

    Objective-C

    typedef id (^AWSMTLValueTransformerBlock)(id)

    Swift

    typealias AWSMTLValueTransformerBlock = (Any?) -> Any?
  • Undocumented

    Declaration

    Objective-C

    typedef void (^AWSNetworkingUploadProgressBlock) (int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend)

    Swift

    typealias AWSNetworkingUploadProgressBlock = (Int64, Int64, Int64) -> Void
  • Undocumented

    Declaration

    Objective-C

    typedef void (^AWSNetworkingDownloadProgressBlock) (int64_t bytesWritten, int64_t totalBytesWritten, int64_t totalBytesExpectedToWrite)

    Swift

    typealias AWSNetworkingDownloadProgressBlock = (Int64, Int64, Int64) -> Void