NimbusKit
1.2.1 - Fork Nimbus on Github - Visit the Nimbus Wiki
The iOS framework that grows only as fast as its documentation
|
A simple in-memory cache for stylesheets.
It is recommended that you use this object to store stylesheets in a centralized location. Ideally you would have one stylesheet cache throughout the lifetime of your application.
A stylesheet cache must be used with the Chameleon observer so that changes can be sent for a given stylesheet. This is because changes are sent using the stylesheet object as the notification object, so a listener must register notifications with the stylesheet as the object.
Tasks | |
NSString * | pathPrefix property |
(id) | - initWithPathPrefix: |
(NIStylesheet *) | - stylesheetWithPath:loadFromDisk: |
(NIStylesheet *) | - stylesheetWithPath: |
The path prefix that will be used to load stylesheets.
Initializes a newly allocated stylesheet cache with a given path prefix.
Fetches a stylesheet from the in-memory cache if it exists or loads the stylesheet from disk if loadFromDisk is YES.
Fetches a stylesheet from the in-memory cache if it exists or loads the stylesheet from disk.
Short form for calling [cache stylesheetWithPath:path loadFromDisk:YES]