We require a class writing for an existing iPhone/iPad universal app, to provide browsing and playback control of content (audio and video) from iTunes running on a networked computer, and browsing / playback of local audio stored on the iOS device. Airplay support must be included to select the destination, for both playing of local media, and content played remotely. This is similar functionality to Apple's 'remote' app.
The finished class should be a subclass of UIView. The class will have a UI element, which will be a scrolling list & buttons to select the content (similar to the music app) , an airplay button, and a standard volume bar. It will also have some non-UI methods to, for example, play, pause, skip next, previous etc. There will only be 1 instance of this class running in the iOS app, but the size of the UI area will be determined at runtime. Once a track / file has been selected, the meta data / album art should be displayed in the UI area. There should be options to select local or remote iTunes content, when available, and pairing to an iTunes computer should be handled through the UI.
This will eventually be submitted to the app store, so no private APIs can be used. It should be possible to include the class within an existing app, a blank app can be created for test purposes. All source code, and a working test app must be provided as a deliverable.