init

Initializes a generic media query.

Declaration

- (id)init

Return Value

A query containing everything in the user's Music library.

Overview

A generic media query has no filter predicates and no grouping configuration. It matches everything in the Music library and provides no grouping or sorting.

See Also

Creating Media Queries

+ albumsQuery

Creates a media query that matches music items and that groups and sorts collections by album name.

+ artistsQuery

Creates a media query that matches music items and that groups and sorts collections by artist name.

+ songsQuery

Creates a media query that matches music items and that groups and sorts collections by song name.

+ playlistsQuery

Creates a media query that matches the entire library and that groups and sorts collections by playlist name.

+ podcastsQuery

Creates a media query that matches podcast items and that groups and sorts collections by podcast name.

+ audiobooksQuery

Creates a media query that matches audio book items and that groups and sorts collections by audio book name.

+ compilationsQuery

Creates a media query that matches compilation items and that groups and sorts collections by album name.

+ composersQuery

Creates a media query that matches all media items and that groups and sorts collections by composer name.

+ genresQuery

Creates a media query that matches all media items and that groups and sorts collections by genre name.

- initWithFilterPredicates:

Initializes a media query with a set of media property predicates.