NNTagging Reference Library

NNContentTypeTreeQueryFilter Class Reference

NNContentTypeTreeQueryFilter Class Reference

Inherits from
Declared in NNContentTypeTreeQueryFilter.h

Overview

Use this filter as a convenient way to filter the query by content type. The contentTypeIdentifier should resemble the right-hand side of MDSimpleGrouping.plist. NNContentTypeTreeQueryFilter will automatically filter for all corresponding left-hand sides.

Tasks

Class Methods

contentTypeTreeQueryFilterForType:

+ (NNContentTypeTreeQueryFilter *)contentTypeTreeQueryFilterForType:(NSString *)contentTypeIdentifier
Parameters
contentTypeIdentifier

Pass a string resembling the contentType, i.e. the right-hand side of MDSimpleGrouping.plist (e.g. PDF)

Return Value

New filter for content type

Discussion

Convenience method.

Declared In
NNContentTypeTreeQueryFilter.h

Instance Methods

initWithType:

- (id)initWithType:(NSString *)contentTypeIdentifier
Parameters
contentTypeIdentifier

Pass a string resembling the contentType, i.e. the right-hand side of MDSimpleGrouping.plist (e.g. PDF)

Return Value

New filter for content type

Declared In
NNContentTypeTreeQueryFilter.h

Last updated: 2010-5-13