Type Aliases
The following type aliases are available globally.
-
Undocumented
Declaration
Swift
public typealias ArrayResponse = HomogeneousArrayResponse -
Undocumented
Declaration
Swift
public typealias MixedArrayResponse = HeterogeneousArrayResponse -
The completion callback for an API request with a
Result<T>containing the requested object of typeTon success, or an error if the request was unsuccessful.Declaration
Swift
public typealias ResultsHandler<T> = (_ result: Result<T, Error>) -> Void -
An alias for String representing the id for a field to improve expressiveness.
Declaration
Swift
public typealias FieldName = String -
An alias for String representing the code for a Contentful locale.
Declaration
Swift
public typealias LocaleCode = String -
A typealias to improve expressiveness.
Declaration
Swift
public typealias ContentTypeId = String
View on GitHub
Type Aliases Reference