CatNiP prefinal
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 
00006 #import <UIKit/UIKit.h>
00008 @class CatNiPViewController;
00010 @interface DetailPopoverController : UITableViewController 
00011 {
00012     NSString *composer;
00013     NSString *composition;
00014     NSString *description;
00015     NSDictionary *metaDataDict;
00016     NSArray *sortedKeys;
00017     CatNiPViewController *master;
00018 }
00019 
00020 /* Basic info of score and its details */
00021 @property (nonatomic, retain) NSString *composer;
00022 @property (nonatomic, retain) NSString *composition;
00023 @property (nonatomic, retain) NSString *description;
00024 @property (nonatomic, copy) NSDictionary *metaDataDict;
00025 @property (retain) NSArray *sortedKeys;
00026 
00027 /*** Master viewController for nice functions calling for loading and showing sheet music ***/
00028 @property (nonatomic, retain) IBOutlet CatNiPViewController *master;
00029 
00030 /*** Basic init with masterController and metaDataDict set ***/
00031 - (id)initWithStyle:(UITableViewStyle)style masterController:(CatNiPViewController *)controller dictionary:(NSDictionary *)dict;
00032 
00033 /*** UITableViewDataSource protocol's functions ***/
00034 - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath;
00035 - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section; // returns 1
00036 - (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView; // returns 4
00037 
00038 /*** UITableViewDelegate protocol's functions ***/
00039 - (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath;
00040 - (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section;
00041 - (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section;
00042 
00043 @end
 All Classes Files Functions Variables Enumerations Enumerator Properties Defines