Classes
The following classes are available globally.
-
A Type-erased container which can hold any Restable for a given response type. Use this for variables and/or function parameters instead of raw
See moreRestable
. Attemping to use a rawRestable
or any of its children (Gettable
,Postable
, etc.) will result in a compiler error regarding associated types. To get the full fledged story googleSwift Static Linking and Protocols with Associated Types
, crack a bottle of whisky, and watch Game of Thrones.Declaration
Swift
public class AnyRestable<ExpectedResponseType: Decodable>: Restable