CatNiP prefinal
Sähköinen nuottikirja, HY-TKTKL-OHTUPROJ KESÄ11
/Users/awniemel/Notepad-SVN/svn/trunk/CatNiP/CatNiP/CatNiPViewController.h File Reference
Include dependency graph for CatNiPViewController.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CatNiPViewController

Defines

#define IMSLP   0
 Main UIViewController for the application.
#define LOCAL   1
#define PLAYLISTS   2

Define Documentation

#define IMSLP   0

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 Library types

Definition at line 60 of file CatNiPViewController.h.

#define LOCAL   1

Definition at line 61 of file CatNiPViewController.h.

#define PLAYLISTS   2

Definition at line 62 of file CatNiPViewController.h.

 All Classes Files Functions Variables Enumerations Enumerator Properties Defines