Documentation updates

This commit is contained in:
Roman Efimov
2013-03-12 18:03:22 -05:00
parent 1514a11ad4
commit 01edf384ce
2 changed files with 24 additions and 4 deletions

View File

@@ -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>

View File

@@ -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;