Classes
The following classes are available globally.
-
Connects to a network service to retrieve a JSON document of the generic type
See moreJSONIntermediateType. TheJSONPayloadProcessorthen attempts to convert the JSON intermediate type into the finalResponseDataType.Declaration
Swift
open class JSONTransaction<JSONIntermediateType, ResponseDataType>: HTTPTransaction<ResponseDataType>
-
A
DataTransactionthat uses aURLRequestto request data from (and potentially send data to) an HTTP(S)-based service.A successful transaction produces an instance of
See moreResponseDataType.Declaration
Swift
open class HTTPTransaction<HTTPResponseDataType>: DataTransaction
-
Attempts to construct a platform-appropriate image object by fetching image data from the given service.
See moreNote
PlatformImageTyperepresents the image type appropriate for the runtime platform. On iOS and tvOS, it maps toUIImage; on Mac OS X, it’sNSImage.Declaration
Swift
open class FetchImageTransaction: HTTPTransaction<PlatformImageType>
View on GitHub
Classes Reference