CatNiP prefinal
Sähköinen nuottikirja, HY-TKTKL-OHTUPROJ KESÄ11
|
Controller of playlist popovers. More...
#import <PlaylistPopoverController.h>
Public Member Functions | |
(void) | - dealloc [implementation] |
(void) | - didReceiveMemoryWarning [implementation] |
(id) | - initWithStyle:masterController:andScore: |
(NSInteger) | - numberOfSectionsInTableView: [implementation] |
(BOOL) | - shouldAutorotateToInterfaceOrientation: [implementation] |
(UITableViewCell *) | - tableView:cellForRowAtIndexPath: [implementation] |
(void) | - tableView:didSelectRowAtIndexPath: [implementation] |
UITableViewDelegate protocol function's implementation. | |
(CGFloat) | - tableView:heightForHeaderInSection: |
Check frameworks API for details. | |
(NSInteger) | - tableView:numberOfRowsInSection: [implementation] |
(UIView *) | - tableView:viewForHeaderInSection: |
(void) | - viewDidAppear: [implementation] |
(void) | - viewDidDisappear: [implementation] |
(void) | - viewDidLoad [implementation] |
(void) | - viewDidUnload [implementation] |
(void) | - viewWillAppear: [implementation] |
(void) | - viewWillDisappear: [implementation] |
Protected Attributes | |
CatNiPViewController * | master |
Properties | |
IBOutlet CatNiPViewController * | master |
LocalScoreData * | score |
Controller of playlist popovers.
Shows all playlists in tableview and if one is selected adds self.score to that playlist.
API up to date 28.6.2011
Definition at line 14 of file PlaylistPopoverController.h.
- (void) dealloc | [implementation] |
Definition at line 26 of file PlaylistPopoverController.m.
- (void) didReceiveMemoryWarning | [implementation] |
Definition at line 31 of file PlaylistPopoverController.m.
- (id) initWithStyle: | (UITableViewStyle) | style | |
masterController: | (CatNiPViewController *) | controller | |
andScore: | (LocalScoreData *) | score | |
Definition at line 16 of file PlaylistPopoverController.m.
- (NSInteger) numberOfSectionsInTableView: | (UITableView *) | tableView | [implementation] |
Definition at line 87 of file PlaylistPopoverController.m.
- (BOOL) shouldAutorotateToInterfaceOrientation: | (UIInterfaceOrientation) | interfaceOrientation | [implementation] |
Definition at line 79 of file PlaylistPopoverController.m.
- (UITableViewCell *) tableView: | (UITableView *) | tableView | |
cellForRowAtIndexPath: | (NSIndexPath *) | indexPath | |
[implementation] |
Definition at line 97 of file PlaylistPopoverController.m.
- (void) tableView: | (UITableView *) | tableView | |
didSelectRowAtIndexPath: | (NSIndexPath *) | indexPath | |
[implementation] |
UITableViewDelegate protocol function's implementation.
Adds self.score to chosen playlist.
Definition at line 149 of file PlaylistPopoverController.m.
References LocalDataHandler::savePlaylistsToDefaultFile:.
- (CGFloat) tableView: | (UITableView *) | tableView | |
heightForHeaderInSection: | (NSInteger) | section | |
Check frameworks API for details.
Definition at line 171 of file PlaylistPopoverController.m.
- (NSInteger) tableView: | (UITableView *) | tableView | |
numberOfRowsInSection: | (NSInteger) | section | |
[implementation] |
Definition at line 92 of file PlaylistPopoverController.m.
- (UIView *) tableView: | (UITableView *) | tableView | |
viewForHeaderInSection: | (NSInteger) | section | |
Definition at line 156 of file PlaylistPopoverController.m.
- (void) viewDidAppear: | (BOOL) | animated | [implementation] |
Definition at line 64 of file PlaylistPopoverController.m.
- (void) viewDidDisappear: | (BOOL) | animated | [implementation] |
Definition at line 74 of file PlaylistPopoverController.m.
- (void) viewDidLoad | [implementation] |
Definition at line 41 of file PlaylistPopoverController.m.
- (void) viewDidUnload | [implementation] |
Definition at line 52 of file PlaylistPopoverController.m.
- (void) viewWillAppear: | (BOOL) | animated | [implementation] |
Definition at line 59 of file PlaylistPopoverController.m.
- (void) viewWillDisappear: | (BOOL) | animated | [implementation] |
Definition at line 69 of file PlaylistPopoverController.m.
- (CatNiPViewController*) master [protected] |
Definition at line 15 of file PlaylistPopoverController.h.
- (IBOutlet CatNiPViewController*) master [read, write, retain] |
Definition at line 20 of file PlaylistPopoverController.h.
- (LocalScoreData *) score [read, write, retain] |
Definition at line 16 of file PlaylistPopoverController.h.