OOAssetStore Class Reference

#import <OOAssetStore.h>

+ Inheritance diagram for OOAssetStore:

Class Methods

(nonnull NSDictionary *) + allValuesMapped
 Returns all paths for all assets stored. More...
 
(nullable NSString *) + pathForAssetNamed:
 Returns a path from the .plist for a given name. More...
 
(BOOL) + setPath:forAssetNamed:
 Sets a path for asset or fairplay key. More...
 
(BOOL) + removeRecordForAssetNamed:
 Deletes an entry from .plist for a given name. More...
 

Method Documentation

+ (nonnull NSDictionary *) allValuesMapped

Returns all paths for all assets stored.

Returns
dictionary with the values
+ (nullable NSString *) pathForAssetNamed: (nonnull NSString *)  name

Returns a path from the .plist for a given name.

Parameters
namename of the asset to look path for
Returns
a relative path if exists, otherwise nil
+ (BOOL) removeRecordForAssetNamed: (nonnull NSString *)  name

Deletes an entry from .plist for a given name.

Parameters
namename to use, i.e. embedcode or fairplay key name
Returns
YES if success, NO otherwise
+ (BOOL) setPath: (nonnull NSString *)  path
forAssetNamed: (nonnull NSString *)  name 

Sets a path for asset or fairplay key.

Parameters
patha path to set
namea name to use, i.e. embedcode or fairplay key name
Returns
YES if success, NO otherwise

The documentation for this class was generated from the following file: