Skip to content

Commit

Permalink
Make cellReuseIdentifier & configureCellBlock public readonly
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzalezreal committed May 8, 2014
1 parent 8d753d3 commit f6dd612
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions TGRDataSource/TGRDataSource.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,16 @@ typedef void (^TGRDataSourceCellBlock)(id cell, id item);
*/
@interface TGRDataSource : NSObject <UITableViewDataSource, UICollectionViewDataSource>

/**
The cell reuse identifier.
*/
@property (copy, nonatomic, readonly) NSString *cellReuseIdentifier;

/**
A block that will be called when the view asks for a cell in a particular location.
*/
@property (copy, nonatomic, readonly) TGRDataSourceCellBlock configureCellBlock;

/**
Initializes the data source.
Expand Down

0 comments on commit f6dd612

Please sign in to comment.