#import <ScorePopoverController.h>
List of all members.
Member Function Documentation
- (NSInteger) numberOfSectionsInTableView: |
|
(UITableView *) |
tableView |
|
UITableViewDataSource protocol function's implementation.
Returns 1
- Parameters:
-
numberOfSectionsInTableView | scoresTableView |
- Returns:
- returns 1.
- (void) tableView: |
|
(UITableView *) |
tableView |
accessoryButtonTappedForRowWithIndexPath: |
|
(NSIndexPath *) |
indexPath |
|
|
| |
UITableViewDelegate protocol function's implementation.
Opens up a detail popover view for tapped score's info.
- Parameters:
-
tableView | scoresTableView |
accessoryButtonTappedForRowWithIndexPath | indexPath for tapped score's cell |
- (UITableViewCell *) tableView: |
|
(UITableView *) |
tableView |
cellForRowAtIndexPath: |
|
(NSIndexPath *) |
indexPath |
|
|
| |
UITableViewDataSource protocol function's implementation.
Some functionality still missing
- Parameters:
-
tableView | scoresTableView |
cellForRowAtIndexPath | indexPath for cell to be created |
- Returns:
- created cell for given arguments
- (void) tableView: |
|
(UITableView *) |
tableView |
didSelectRowAtIndexPath: |
|
(NSIndexPath *) |
indexPath |
|
|
| |
UITableViewDelegate protocol function's implementation.
to be implemented. Should dowload and open sheets corresponding to selected row and hide UI elements
- Parameters:
-
tableView | scoresTableView |
didSelectRowAtIndexPath | indexPath for selected row |
- (CGFloat) tableView: |
|
(UITableView *) |
tableView |
heightForHeaderInSection: |
|
(NSInteger) |
section |
|
|
| |
UITableViewDelegate protocol function's implementation
Calculate header's height based on it's content's length. Calculation formula is: ((int)(l / 45) +1) * 30 + 50 where l is |composer| + |composition| + 3.
- Parameters:
-
tableView | scoresTableView |
heightForHeaderInSection | only one section (0) in this table. |
- Returns:
- height of header as CGFloat.
- (CGFloat) tableView: |
|
(UITableView *) |
tableView |
heightForRowAtIndexPath: |
|
(NSIndexPath *) |
indexPath |
|
|
| |
UITableViewDelegate protocol function's implementation.
Calculate table row's height dynamically based on string's length.
- Parameters:
-
tableView | scoresTableView |
heightRowAtIndexPath | indexPath of the cell which height is being calculated |
- Returns:
- height of row as CGFloat.
- (UIView *) tableView: |
|
(UITableView *) |
tableView |
viewForHeaderInSection: |
|
(NSInteger) |
section |
|
|
| |
tableViewDelegate protocol function's implementation.
Creates an UILabel for scoresTableView header (it has only one section) and sets its textLabel.text = "composer - composition". Header backgroundcolor has alpha component set to 0.4 so that it text behind it can be viewed.
- Parameters:
-
tableView | scoresTableView |
section | only one section (0) in this table. |
- Returns:
- view for header in section
Member Data Documentation
Property Documentation
- (NSString *) composer [read, write, retain] |
- (NSString *) composition [read, write, retain] |
- (NSString *) scoreInfo [read, write, retain] |
The documentation for this class was generated from the following files: