CatNiP prefinal
Sähköinen nuottikirja, HY-TKTKL-OHTUPROJ KESÄ11
PlaylistPopoverController Class Reference

Controller of playlist popovers. More...

#import <PlaylistPopoverController.h>

Collaboration diagram for PlaylistPopoverController:

List of all members.

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

CatNiPViewControllermaster

Properties

IBOutlet CatNiPViewControllermaster
LocalScoreDatascore

Detailed Description

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.


Member Function Documentation

- (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:.

Here is the call graph for this function:

- (CGFloat) tableView: (UITableView *)  tableView
heightForHeaderInSection: (NSInteger)  section 

Check frameworks API for details.

Returns:
returns 40

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.


Member Data Documentation

- (CatNiPViewController*) master [protected]

Definition at line 15 of file PlaylistPopoverController.h.


Property Documentation

- (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.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Enumerations Enumerator Properties Defines