COLibrary class documentation
COLibrary : COContainerCOLibrary is used to represents libraries such as photo, music, tag etc.
| Authors | Generated by qmathe |
|---|---|
| Declared in | COLibrary.h |
Overview
Contained objects can only be in a single library. The content is ordered (to ensure the object order remains stable in the UI without sorting it).
To access and change the objects in the library, use COCollection API. For example, -content returns all the objects in the library.
Library Kind
- - (NSString *) identifier
An identifier that in most cases represents the library kind (to be precise, this is usually the content kind such as music, photo etc.).
CoreObject declares various identifier constants corresponding to common library kinds.
The identifier is used to look up the libraries in COEditingContext(COCommonLibraries) API.
- - (void) setIdentifier: (NSString *)identifier
An identifier that in most cases represents the library kind (to be precise, this is usually the content kind such as music, photo etc.).
CoreObject declares various identifier constants corresponding to common library kinds.
The identifier is used to look up the libraries in COEditingContext(COCommonLibraries) API.
Type Querying
- - (BOOL) isLibrary
Returns YES.
Private
- + (NSSet *) additionalEntityDescriptions
- Description forthcoming.