Click here to support Nimbus development and make a donation at www.pledgie.com !
An iOS framework whose growth is bounded by O(documentation).
Nimbus Class Reference

Overview

The Nimbus state interface.

Definition at line 38 of file NIState.h.

Methods

Accessing Global State
(NIImageMemoryCache *) + imageMemoryCache
(NSOperationQueue *) + networkOperationQueue
Modifying Global State
(void) + setImageMemoryCache:
(void) + setNetworkOperationQueue:

Method Documentation

+ (NIImageMemoryCache *) imageMemoryCache

Access the global image memory cache.

If a cache hasn't been assigned via Nimbus::setGlobalImageMemoryCache: then one will be created automatically.

Remarks:
The default image cache has no upper limit on its memory consumption. It is up to you to specify an upper limit in your application.

Definition at line 41 of file NIState.m.

+ (NSOperationQueue *) networkOperationQueue

Access the global network operation queue.

The global network operation queue exists to be used for asynchronous network requests if you choose. By defining a global operation queue in the core of Nimbus, we can ensure that all libraries that depend on core will use the same network operation queue unless configured otherwise.

If an operation queue hasn't been assigned via Nimbus::setGlobalNetworkOperationQueue: then one will be created automatically with the default iOS settings.

Definition at line 59 of file NIState.m.

+ (void) setImageMemoryCache: (NIImageMemoryCache *)  imageMemoryCache

Set the global image memory cache.

The cache will be retained and the old cache released.

Definition at line 32 of file NIState.m.

+ (void) setNetworkOperationQueue: (NSOperationQueue *)  queue

Set the global network operation queue.

The queue will be retained and the old queue released.

Definition at line 50 of file NIState.m.

Generated for Nimbus by doxygen 1.7.4-20110629