Skip to content

Commit

Permalink
Improve documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
danielctull committed Oct 12, 2011
1 parent 326bece commit b069597
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
7 changes: 5 additions & 2 deletions FRCParentTableViewDataSource.h
Expand Up @@ -36,8 +36,11 @@

#import "FRCTableViewDataSource.h"


/** This is an abstract class that implements forwarding of the UITableViewDataSource methods to child data source objects.
/** This is an abstract class that implements forwarding of the UITableViewDataSource methods to child data source
objects. You should use a subclass or make your own parent subclass, which must implement all of the methods declared
here.
Examples of concrete subclasses are FRCSplitTableViewDataSource and FRCCollapsableSectionTableViewDataSource.
*/
@interface FRCParentTableViewDataSource : FRCTableViewDataSource

Expand Down
6 changes: 5 additions & 1 deletion FRCTableViewDataSource.h
Expand Up @@ -51,7 +51,11 @@

@class FRCParentTableViewDataSource;

/** An abstract class to represent a core FRCTableViewDataSource object.
/** An abstract class to represent a core FRCTableViewDataSource object. Examples of concrete
subclasses are FRCObjectTableViewDataSource and FRCFetchedResultsTableViewDataSource.
When subclassing, generally you should write your own implmentation for the objectAtIndexPath:
and reloadData methods.
*/
@interface FRCTableViewDataSource : NSObject <UITableViewDataSource>

Expand Down
2 changes: 1 addition & 1 deletion UITableView+FRCTableViewDataSources.m
Expand Up @@ -125,7 +125,7 @@ - (void)frc_registerFRCTableViewCellSubclass:(Class)tableViewCellClass {
UINib *nib = [UINib nibWithNibName:nibName bundle:nil];
NSString *reuseIdentifier = [tableViewCellClass reuseIdentifier];

[self registerNib:nib forCellReuseIdentifier:reuseIdentifier];
[self registerNib:nib forCellReuseIdentifier:reuseIdentifier];
}

@end

0 comments on commit b069597

Please sign in to comment.