MMKDataProviderWithId

@protocol MMKDataProviderWithId <NSObject>

Provides any string data.

Summary

Instance methods

- (nonnull NSString *)providerId;
Use the same id for the identical data, to prevent repeated loading of the same data into RAM and VRAM

- (nonnull NSString *)load;
Return string data

Instance methods

providerId

- (nonnull NSString *)providerId;

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

- (nonnull NSString *)load;

Return string data. Called in a separate thread.

This method will be called on a background thread.