DictionaryRepresentable
protocol DictionaryRepresentable
Protocol for objects that can be converted to and from Dictionaries
-
Optional initializer that is necessary for recovering outstanding requests from disk when restarting the app
Declaration
Swift
init?(dictionary: [String : Any])
-
Provides a dictionary to be written to disk; This dictionary is what will be passed to the initializer above
Declaration
Swift
var dictionary: [String : Any] { get }
Return Value
Dictionary containing information to retry if the app is terminated