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
    url

    The URL of the resource.

    cachePreferred

    Use existing cache data, regardless or age or expiration date, loading from originating source only if there is no cached data.

    result

    Result of the data load.