MOOResourceList Class Reference
Inherits from | NSObject |
Declared in | MOOResourceList.h MOOResourceList.m |
Overview
MOOResourceList lists resources which should be cached and provides background rendering of itself.
Resource lists should be placed inside the shared resource registry.
Tasks
-
– initWithResourceNames:
Initializes a resource list with an array of resource names, e.g. {“Icon1.pdf”, “Icon2.pdf”, “Icon3.pdf”}
-
– initWithPlistNamed:
Initializes a resource list with an array taken from a given property list
-
+ listWithResourceNames:
Creates a resource list with an array of resource names, e.g. {“Icon1.pdf”, “Icon2.pdf”, “Icon3.pdf”}
-
+ listWithPlistNamed:
Creates a resource list with an array taken from a given property list
-
– renderMasksInBackground
Renders and caches masks of every resource in the list in a background queue.
-
+ defaultRenderQueue
The default background render queue.
Class Methods
defaultRenderQueue
The default background render queue.
+ (dispatch_queue_t)defaultRenderQueue
Discussion
defaultRenderQueue is a serial GCD queue with background priority on iOS 5.0+ and low priority on iOS 4.
Declared In
MOOResourceList.h
listWithPlistNamed:
Creates a resource list with an array taken from a given property list
+ (MOOResourceList *)listWithPlistNamed:(NSString *)plistName
Parameters
- plistName
The name of the plist of resource names to load
See Also
Declared In
MOOResourceList.h
listWithResourceNames:
Creates a resource list with an array of resource names, e.g. {“Icon1.pdf”, “Icon2.pdf”, “Icon3.pdf”}
+ (MOOResourceList *)listWithResourceNames:(NSArray *)resourceNames
Parameters
- resourceNames
An array of resource names. Note: Names are not paths.
See Also
Declared In
MOOResourceList.h
Instance Methods
initWithPlistNamed:
Initializes a resource list with an array taken from a given property list
- (id)initWithPlistNamed:(NSString *)plistName
Parameters
- plistName
The name of the plist of resource names to load
Declared In
MOOResourceList.h