Typealiases
The following typealiases are available globally.
-
A concrete
JSONTransactionthat attempts to generate aJSONDictionaryfrom JSON data returned by the server.Declaration
Swift
public typealias JSONDictionaryTransaction = JSONTransaction<JSONDictionary, JSONDictionary> -
A concrete
JSONOptionalTransactionthat accepts an optional JSON payload that—if present—is expected to yield aJSONDictionary.Declaration
Swift
public typealias JSONOptionalDictionaryTransaction = JSONTransaction<JSONDictionary?, JSONDictionary?> -
A concrete
JSONTransactionthat attempts to generate aJSONArrayfrom JSON data returned by the server.Declaration
Swift
public typealias JSONArrayTransaction = JSONTransaction<JSONArray, JSONArray> -
A concrete
JSONOptionalTransactionthat accepts an optional JSON payload that—if present—is expected to yield aJSONArray.Declaration
Swift
public typealias JSONOptionalArrayTransaction = JSONTransaction<JSONArray?, JSONArray?>
-
The type of object returned by
JSONSerialization.jsonObject()to represent a JSON dictionary.Declaration
Swift
public typealias JSONDictionary = [String: Any] -
The type of object returned by
JSONSerialization.jsonObject()to represent a JSON array.Declaration
Swift
public typealias JSONArray = [Any]
-
Represents the image type appropriate for the runtime platform. On iOS and tvOS,
PlatformImageTypeisUIImage; on macOS,NSImage; and on watchOS,WKImage.Declaration
Swift
public typealias PlatformImageType = NSImage
View on GitHub
Typealiases Reference