MimiResourceController
public protocol MimiResourceController : MimiCoreController
Controller which provides access to Mimi resources.
-
Load a remote resource.
Declaration
Swift
func load(url: URL, cachePreferred: Bool, result: MimiCoreResultHandler<Data>)Parameters
urlThe URL of the resource.
cachePreferredUse existing cache data, regardless or age or expiration date, loading from originating source only if there is no cached data.
resultResult of the data load.
MimiResourceController Protocol Reference