FoundationExtension
FoundationExtension is common Foundation/UIKit/Cocoa shortcuts and snippets collection.
|
This protocol defines data source and subview source methods for UIASubviewTableView objects. More...
#import <UIASubviewTableView.h>
Instance Methods | |
(NSUInteger) | - subviewTableViewNumberOfSubviews: |
Asks the subview source the number of subviews. More... | |
(UIView *) | - subviewTableView:viewForRow: |
Asks the subview source the view for given row. More... | |
(CGFloat) | - subviewTableView:viewHeightForRow: |
Asks the subview source the height of view for given row. More... | |
Forwardings | |
(BOOL) | - tableView:canEditRowAtIndexPath: |
Forwarding method for UITableViewDataSource. More... | |
(BOOL) | - tableView:canMoveRowAtIndexPath: |
Forwarding method for UITableViewDataSource. More... | |
(NSInteger) | - tableView:sectionForSectionIndexTitle:atIndex: |
Forwarding method for UITableViewDataSource. More... | |
(void) | - tableView:commitEditingStyle:forRowAtIndexPath: |
Forwarding method for UITableViewDataSource. More... | |
(void) | - tableView:moveRowAtIndexPath:toIndexPath: |
Forwarding method for UITableViewDataSource. More... | |
This protocol defines data source and subview source methods for UIASubviewTableView objects.
This covers optional methods of data source, because table view self-implemented its required methods.
- (UIView *) subviewTableView: | (UIASubviewTableView *) | scrollView | |
viewForRow: | (NSUInteger) | row | |
Asks the subview source the view for given row.
|
optional |
Asks the subview source the height of view for given row.
This is used to avoid referencing real view for row to calculate height for the row. If not implemented, default value is view.frame.size.height for each view.
- (NSUInteger) subviewTableViewNumberOfSubviews: | (UIASubviewTableView *) | scrollView |
Asks the subview source the number of subviews.
- (BOOL) tableView: | (UITableView *) | tableView | |
canEditRowAtIndexPath: | (NSIndexPath *) | indexPath | |
Forwarding method for UITableViewDataSource.
- (BOOL) tableView: | (UITableView *) | tableView | |
canMoveRowAtIndexPath: | (NSIndexPath *) | indexPath | |
Forwarding method for UITableViewDataSource.
- (void) tableView: | (UITableView *) | tableView | |
commitEditingStyle: | (UITableViewCellEditingStyle) | editingStyle | |
forRowAtIndexPath: | (NSIndexPath *) | indexPath | |
Forwarding method for UITableViewDataSource.
- (void) tableView: | (UITableView *) | tableView | |
moveRowAtIndexPath: | (NSIndexPath *) | sourceIndexPath | |
toIndexPath: | (NSIndexPath *) | destinationIndexPath | |
Forwarding method for UITableViewDataSource.
- (NSInteger) tableView: | (UITableView *) | tableView | |
sectionForSectionIndexTitle: | (NSString *) | title | |
atIndex: | (NSInteger) | index | |
Forwarding method for UITableViewDataSource.