MMKDataProviderWithId

protocol MMKDataProviderWithId : NSObjectProtocol

Provides any string data.

Summary

Instance methods

func providerId() -> String
Use the same id for the identical data, to prevent repeated loading of the same data into RAM and VRAM

func load() -> String
Return string data

Instance methods

providerId()

func providerId() -> String

Use the same id for the identical data, to prevent repeated loading of the same data into RAM and VRAM. Called in any thread.

This method will be called on a background thread.


load()

func load() -> String

Return string data. Called in a separate thread.

This method will be called on a background thread.