CatNiP docutest
Sähköinen nuottikirja, HY-TKTKL-OHTUPROJ KESÄ11
/Users/awniemel/Notepad-SVN/svn/trunk/CatNiP/CatNiP/DetailPopoverController.h
Go to the documentation of this file.
00001 
00009 #import <UIKit/UIKit.h>
00010 
00011 @class CatNiPViewController;
00012 
00013 @interface DetailPopoverController : UITableViewController 
00014 {
00015     NSString *composer;
00016     NSString *composition;
00017     NSString *description;
00018     NSDictionary *metaDataDict;
00019     NSArray *sortedKeys;
00020     CatNiPViewController *master;
00021 }
00022 
00023 /* Basic info of score and its details */
00024 @property (nonatomic, retain) NSString *composer;
00025 @property (nonatomic, retain) NSString *composition;
00026 @property (nonatomic, retain) NSString *description;
00027 @property (nonatomic, copy) NSDictionary *metaDataDict;
00028 @property (retain) NSArray *sortedKeys;
00029 
00030 /*** Master viewController for nice functions calling for loading and showing sheet music ***/
00031 @property (nonatomic, retain) IBOutlet CatNiPViewController *master;
00032 
00033 /*** Basic init with masterController and metaDataDict set ***/
00034 - (id)initWithStyle:(UITableViewStyle)style masterController:(CatNiPViewController *)controller dictionary:(NSDictionary *)dict;
00035 
00036 /*** UITableViewDataSource protocol's functions ***/
00037 - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath;
00038 - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section; // returns 1
00039 - (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView; // returns 4
00040 
00041 /*** UITableViewDelegate protocol's functions ***/
00042 - (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath;
00043 - (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section;
00044 - (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section;
00045 
00046 @end
 All Classes Files Functions Variables Enumerations Enumerator Properties Defines