mirror of
https://github.com/zhigang1992/RETableViewManager.git
synced 2026-05-09 11:52:19 +08:00
Documentation updates
This commit is contained in:
@@ -41,22 +41,42 @@
|
||||
@interface RETableViewManager : NSObject <UITableViewDelegate, UITableViewDataSource>
|
||||
|
||||
@property (strong, readwrite, nonatomic) NSMutableArray *sections;
|
||||
@property (strong, readwrite, nonatomic) NSMutableDictionary *mapping;
|
||||
@property (strong, readwrite, nonatomic) RETableViewCellStyle *style;
|
||||
@property (assign, readwrite, nonatomic) id<RETableViewManagerDelegate>delegate;
|
||||
|
||||
///-----------------------------
|
||||
/// @name Creating and Initializing a RETableViewManager
|
||||
///-----------------------------
|
||||
|
||||
/**
|
||||
Initialize a table view manager object and specify the delegate object.
|
||||
|
||||
@param The delegate (RETableViewManagerDelegate) object for the table view manager.
|
||||
@return The pointer to the instance, or nil if initialization failed.
|
||||
*/
|
||||
- (id)initWithDelegate:(id<RETableViewManagerDelegate>)delegate;
|
||||
|
||||
///-------------------------------------------
|
||||
/// @name Managing the Delegate
|
||||
///-------------------------------------------
|
||||
|
||||
/**
|
||||
The object that acts as the delegate of the receiving table view.
|
||||
*/
|
||||
@property (assign, readwrite, nonatomic) id<RETableViewManagerDelegate>delegate;
|
||||
|
||||
///-----------------------------
|
||||
/// @name Mapping
|
||||
///-----------------------------
|
||||
|
||||
@property (strong, readwrite, nonatomic) NSMutableDictionary *mapping;
|
||||
|
||||
- (void)mapObjectClass:(NSString *)objectClass toTableViewCellClass:(NSString *)cellViewClass;
|
||||
|
||||
///-----------------------------
|
||||
/// @name Setting default style
|
||||
///-----------------------------
|
||||
|
||||
@property (strong, readwrite, nonatomic) RETableViewCellStyle *style;
|
||||
|
||||
@end
|
||||
|
||||
@protocol RETableViewManagerDelegate <NSObject>
|
||||
|
||||
@@ -120,11 +120,11 @@
|
||||
30DB066216E934AD006C9530 /* RETableViewCellStyle.m */,
|
||||
30DB066316E934AD006C9530 /* RETableViewItem.h */,
|
||||
30DB066416E934AD006C9530 /* RETableViewItem.m */,
|
||||
30DB066516E934AD006C9530 /* RETableViewManager.bundle */,
|
||||
30DB066616E934AD006C9530 /* RETableViewManager.h */,
|
||||
30DB066716E934AD006C9530 /* RETableViewManager.m */,
|
||||
30DB066816E934AD006C9530 /* RETableViewSection.h */,
|
||||
30DB066916E934AD006C9530 /* RETableViewSection.m */,
|
||||
30DB066516E934AD006C9530 /* RETableViewManager.bundle */,
|
||||
);
|
||||
name = RETableViewManager;
|
||||
path = ../RETableViewManager;
|
||||
|
||||
Reference in New Issue
Block a user