| Inherits from | |
|---|---|
| Declared in | NNSelectedTags.h |
Container class for selected tags. Needed for posting notifications, can be used as a NSMutableArray of sorts.
- (id)initWithTags:(NSArray *)tags Tags to set
Prepared selected tags
Directly set some NNTags as selected tags.
NNSelectedTags.h- (NSMutableArray *)selectedTagsCurrently selected NNTags
NNSelectedTags.h- (void)setSelectedTags:(NSArray *)otherTags Tags to set
NNSelectedTags.h- (void)removeLastTagRemoves most recently added selected tag.
NNSelectedTags.h- (void)removeAllTagsEmpties selected tags.
NNSelectedTags.h- (NSUInteger)countNumber of selected tags
NNSelectedTags.h- (void)addTag:(NNTag *)aTag NNTag to add
Adds a tag to selected tags.
NNSelectedTags.h- (void)addTag:(NNTag *)aTag negated:(BOOL)negated If YES, tag is negated
NNTag to add
Adds a tag to selected tags.
NNSelectedTags.h- (void)addTags:(NSArray *)someTags NSArray of NNTag objects to add
Adds all objects from someTags to selected tags.
NNSelectedTags.h- (void)removeTag:(NNTag *)aTag NNTag to remove
Removes a tag (if present).
NNSelectedTags.h- (void)negateTag:(NNTag *)aTag NNTag to negate
Negates a tag, effectively excluding it from the search. Tagged objects with a negated tag are not shown in the results.
NNSelectedTags.h- (void)toggleTagNegation:(NNTag *)aTag NNTag to toggle negation state
Toogles tag negation (
NNSelectedTags.h- (BOOL)isNegated:(NNTag *)aTag YES if aTag is negated, NO otherwise
NNSelectedTags.h- (BOOL)containsTag:(NNTag *)aTag NNTag to look for
YES if selected tags contain aTag; NO otherwise
NNSelectedTags.h- (NSEnumerator *)objectEnumeratorEnumerator for selected tags
NNSelectedTags.h- (void)addObjectsFromArray:(NSArray *)array NSArray of NNTags to add
Convenience method to add multiple NNTags.
NNSelectedTags.h- (void)removeObjectsInArray:(NSArray *)array NSArray of NNTags to remove
Convenience method to remove multiple NNTags.
NNSelectedTags.h- (NSMutableString *)queryStringReturns a query representing the selected tags for use in NNQuery
NNSelectedTags.hLast updated: 2010-5-13