CatNiP prefinal
Sähköinen nuottikirja, HY-TKTKL-OHTUPROJ KESÄ11
/Users/awniemel/Notepad-SVN/svn/trunk/CatNiP/CatNiP/CatNiPViewController.m File Reference
Include dependency graph for CatNiPViewController.m:

Go to the source code of this file.

Defines

#define LIBRARYTYPE   self.libraryType.selectedSegmentIndex
 Main UIViewController for the application.

Define Documentation

#define LIBRARYTYPE   self.libraryType.selectedSegmentIndex

Main UIViewController for the application.

It manages the application and it's behaviour and owns all UI related objects like popovers, scoreview, etc.

Basicly CatNiPViewController contains toolbar, scoreview, two UITableViews, two searchbars and four popovers. These are the main methods for user interaction.

Toolbar handles actions (via buttons) such as showing the tableviews (composer/composition/playlist lists), changing librarytype, scrolling to next or previous score while in playlist and fitting scoreviews content to screen width.

Scoreview is responsible for showing scores in easy up/down scrolling style. Check UIDocumentView, UIScoreView, etc for details.

Two tableviews and searchbars are used for showing and searching composers, compositions and playlists. Their delegates and datasources change between IMSLPDelegateDataSource, LocalDelegateDataSource and PlaylistsDelegateDataSource based on which segment is selected in toolbar's UISegmentedControl named libraryType.

Four popovers are used to show all scores of certain composition in current librarytype (spc), details of certain score (dpc), list of all playlists to pick in which certain score is added (ppc) or showing user editable notes for currently showing score (npc).

API up to date 29.6.2011Main UIViewController for the application. It manages the application and it's behaviour and owns all UI related objects like popovers, scoreview, etc.

API up to date 29.6.2011

Definition at line 33 of file CatNiPViewController.m.

 All Classes Files Functions Variables Enumerations Enumerator Properties Defines