iTunes Library
Retrieve the properties of the media in the user’s iTunes library.
Overview
With this framework, you can retrieve media information, such as track and playlist metadata, directly from the user’s iTunes library, eliminating the need to query the iTunes XML file.
To use this framework, create an ITLibrary object by calling the libraryWithAPIVersion:error: class method. You can interrogate the instance that returns to obtain its properties and the properties of its media items. For example: