| Inherits from | |
|---|---|
| Declared in | NNTagging.h |
Treat this class as a very simple facade to NNTagging.framework with additional helper methods. It provides a synchronous way for searching tagged objects, a way to batch create the tag folder directory structure, a method to clean up the tag DB...
NNTag uses this class when executing taggedObjects.
+ (NNTagging *)taggingDefault instance
NNTagging.h- (NSArray *)taggedObjectsForTag:(NNTag *)tag Tag to search for
Tagged objects for tag
Searches for objects with tag.
NNTagging.h- (NSArray *)taggedObjectsForTags:(NSArray *)tags Tags to search for
Tagged objects for tags
Searches for objects with tags.
NNTagging.h- (NSArray *)allTaggedObjectsAll tagged objects
Searches for every object tagged by Punakea.
NNTagging.h- (NSArray *)associatedTagsForTags:(NSArray *)tags Tags to find strongly associated tags for
Highly associated tags
For a given array of tags, find tags that are strongly associated. These tags are good candidates for suggesting additional tags. Tags are strongly associated if they often occur together with the given tags on the same files/tagged objects
NNTagging.h- (void)updateTagRules:(NSArray *)rules Tag association rules
Use to set the available tag association rules.
NNTagging.h- (void)cleanTagsFolderDeletes all folders in tagsFolder corresponding to Punakea tags. Leaves all other folder content intact
NNTagging.h- (void)removeTagsFolderDeletes tagsFolder - use with caution!
NNTagging.h- (void)createDirectoryStructureCalls createDirectoryStructureWithPrecedingCleanung:NO
NNTagging.h- (void)createDirectoryStructureWithPrecedingCleanup:(BOOL)cleanup If YES, directorey structure will be cleaned before recreating it
Batch creates the directory structure representing the tags and relations. the directory structure's location is set in the UserDefaults
NNTagging.h- (void)cleanTagDBLooks through all the spotlight comments and adjusts the useCount on the tags. Tags not found on any file are deleted
NNTagging.h- (NSArray *)tagNamesForTags:(NSArray *)tags Array of NNTag objects
Array of NSString objects (tag names)
Helper method to extract an array of tag names from NNTag objects
NNTagging.h- (NSArray *)tagsForTagnames:(NSArray *)tagnames Array of tag names (as NSString*)
Array of NNTag objects
Helper method to get an array of NNTag objects for tag names
NNTagging.hLast updated: 2010-5-13