MMKDataProviderWithId
@protocol MMKDataProviderWithId <NSObject> |
Provides any string data.
Summary
Instance methods
- (nonnull NSString *)providerId; |
- (nonnull NSString *)load; |
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.