From 01edf384ce100a2c102807ee3995307c0b505a08 Mon Sep 17 00:00:00 2001 From: Roman Efimov Date: Tue, 12 Mar 2013 18:03:22 -0500 Subject: [PATCH] Documentation updates --- RETableViewManager/RETableViewManager.h | 26 ++++++++++++++++--- .../project.pbxproj | 2 +- 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/RETableViewManager/RETableViewManager.h b/RETableViewManager/RETableViewManager.h index af8aa48..b656aca 100644 --- a/RETableViewManager/RETableViewManager.h +++ b/RETableViewManager/RETableViewManager.h @@ -41,22 +41,42 @@ @interface RETableViewManager : NSObject @property (strong, readwrite, nonatomic) NSMutableArray *sections; -@property (strong, readwrite, nonatomic) NSMutableDictionary *mapping; -@property (strong, readwrite, nonatomic) RETableViewCellStyle *style; -@property (assign, readwrite, nonatomic) iddelegate; ///----------------------------- /// @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)delegate; +///------------------------------------------- +/// @name Managing the Delegate +///------------------------------------------- + +/** + The object that acts as the delegate of the receiving table view. + */ +@property (assign, readwrite, nonatomic) iddelegate; + ///----------------------------- /// @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 diff --git a/RETableViewManagerExample/RETableViewManagerExample.xcodeproj/project.pbxproj b/RETableViewManagerExample/RETableViewManagerExample.xcodeproj/project.pbxproj index c4c3bbe..2bc0782 100644 --- a/RETableViewManagerExample/RETableViewManagerExample.xcodeproj/project.pbxproj +++ b/RETableViewManagerExample/RETableViewManagerExample.xcodeproj/project.pbxproj @@ -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;