Skip to content

Commit b781fb8

Browse files
author
Kasun Randika
committed
* Code formatted.
1 parent 8f1296b commit b781fb8

File tree

3 files changed

+87
-59
lines changed

3 files changed

+87
-59
lines changed

iDynamicForms.xcodeproj/project.pbxproj

+4-4
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
304F299C1CE1FB2C007F776E /* ViewControllerFormDataSource.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ViewControllerFormDataSource.h; sourceTree = "<group>"; };
5858
304F299D1CE1FB2C007F776E /* ViewControllerFormDataSource.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ViewControllerFormDataSource.m; sourceTree = "<group>"; };
5959
304F29A51CE1FBDD007F776E /* DynamicTableManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DynamicTableManager.h; sourceTree = "<group>"; };
60-
304F29A61CE1FBDD007F776E /* DynamicTableManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = DynamicTableManager.m; path = DynamicTableManager/DynamicTableManager.m; sourceTree = "<group>"; };
60+
304F29A61CE1FBDD007F776E /* DynamicTableManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DynamicTableManager.m; sourceTree = "<group>"; };
6161
304F29A71CE1FBDD007F776E /* TableViewFormDataSource.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TableViewFormDataSource.h; sourceTree = "<group>"; };
6262
304F29C01CE1FE1A007F776E /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
6363
304F29C11CE1FE1A007F776E /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
@@ -92,7 +92,7 @@
9292
3093EA151D251B8400F661CD /* TextFieldTableViewCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = TextFieldTableViewCell.xib; sourceTree = "<group>"; };
9393
3093EA191D251C3A00F661CD /* FormPortionTableViewCellData.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FormPortionTableViewCellData.h; sourceTree = "<group>"; };
9494
3093EA1A1D251C3A00F661CD /* FormPortionTableViewCellData.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FormPortionTableViewCellData.m; sourceTree = "<group>"; };
95-
3093EA1D1D251D5400F661CD /* IDynamicFormsConfig.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = IDynamicFormsConfig.h; path = ../IDynamicFormsConfig.h; sourceTree = "<group>"; };
95+
3093EA1D1D251D5400F661CD /* IDynamicFormsConfig.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IDynamicFormsConfig.h; sourceTree = "<group>"; };
9696
30FDBCBF1CF223FC005B2D21 /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; };
9797
30FDBCC01CF223FC005B2D21 /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; };
9898
/* End PBXFileReference section */
@@ -229,7 +229,7 @@
229229
304F29A11CE1FB3B007F776E /* iDynamicForms */ = {
230230
isa = PBXGroup;
231231
children = (
232-
304F29A61CE1FBDD007F776E /* DynamicTableManager.m */,
232+
3093EA1D1D251D5400F661CD /* IDynamicFormsConfig.h */,
233233
3093EA181D251C1B00F661CD /* Models */,
234234
3093E9DC1D25139000F661CD /* Views */,
235235
3093EA1C1D251CB900F661CD /* DynamicTableManager */,
@@ -368,8 +368,8 @@
368368
3093EA1C1D251CB900F661CD /* DynamicTableManager */ = {
369369
isa = PBXGroup;
370370
children = (
371-
3093EA1D1D251D5400F661CD /* IDynamicFormsConfig.h */,
372371
304F29A51CE1FBDD007F776E /* DynamicTableManager.h */,
372+
304F29A61CE1FBDD007F776E /* DynamicTableManager.m */,
373373
);
374374
path = DynamicTableManager;
375375
sourceTree = "<group>";

iDynamicForms/Utilities/iDynamicForms/DynamicTableManager/DynamicTableManager.h

+29-25
Original file line numberDiff line numberDiff line change
@@ -19,48 +19,52 @@
1919
@property (nonatomic, strong) NSMutableDictionary* mDicFormContentTableData;
2020
@property (nonatomic, assign, getter=isSetTableViewCellsClearColor) BOOL setTableViewCellsClearColor;
2121

22-
- (id) initWithContentIdentifiersArray:(NSMutableArray *)contentIdentifiers
23-
andContentDictionary:(NSMutableDictionary *)contentDictionary
24-
andTableView:(UITableView *)formTableView;
22+
- (id)initWithContentIdentifiersArray:(NSMutableArray *)contentIdentifiers
23+
andContentDictionary:(NSMutableDictionary *)contentDictionary
24+
andTableView:(UITableView *)formTableView;
2525

26-
- (id) initWithContentIdentifiersArray:(NSMutableArray *)contentIdentifiers
27-
andContentDictionary:(NSMutableDictionary *)contentDictionary
28-
initialFormContentAs:(FormPortionTableViewCellData *)object
29-
forKey:(NSString *)forKey;
26+
- (id)initWithContentIdentifiersArray:(NSMutableArray *)contentIdentifiers
27+
andContentDictionary:(NSMutableDictionary *)contentDictionary
28+
initialFormContentAs:(FormPortionTableViewCellData *)object
29+
forKey:(NSString *)forKey;
3030

31-
- (BOOL) initiateFormContentWithObject:(FormPortionTableViewCellData *)object forKey:(NSString *) forKey;
31+
- (BOOL)initiateFormContentWithObject:(FormPortionTableViewCellData *)object forKey:(NSString *)forKey;
3232

33-
- (BOOL) insertAfterKey:(NSString *) key object:(FormPortionTableViewCellData *) object forKey:(NSString *) forKey;
33+
- (BOOL)insertAfterKey:(NSString *)key object:(FormPortionTableViewCellData *)object forKey:(NSString *)forKey;
3434

35-
- (BOOL) removeObjectForKey:(NSString *) forKey;
35+
- (BOOL)removeObjectForKey:(NSString *)forKey;
3636

37-
- (BOOL) resetDataSourceForKey:(NSString *) forKey;
37+
- (BOOL)resetDataSourceForKey:(NSString *)forKey;
3838

39-
- (NSIndexPath *) getIndexPathForKey: (NSString *) key;
39+
- (NSIndexPath *)getIndexPathForKey:(NSString *)key;
4040

41-
- (FormPortionTableViewCellData *) getFormPortionCellDataForKey: (NSString *) forKey;
41+
- (FormPortionTableViewCellData *)getFormPortionCellDataForKey:(NSString *)forKey;
4242

43-
- (FormPortionTableViewCellData *) getFormPortionCellDataAtIndex:(NSUInteger)itemIndex;
43+
- (FormPortionTableViewCellData *)getFormPortionCellDataAtIndex:(NSUInteger)itemIndex;
4444

45-
- (UITableViewCell *) generateFormCellForRowAtIndexPath:(NSIndexPath *) indexPath forFormContainer:(UITableView *)tableView;
45+
- (UITableViewCell *)generateFormCellForRowAtIndexPath:(NSIndexPath *)indexPath forFormContainer:(UITableView *)tableView;
4646

47-
- (void) setActionForUIControl:(UIControl *)control withData:(FormPortionTableViewCellData *)data forAction:(NSString *)action;
47+
- (void)setActionForUIControl:(UIControl *)control withData:(FormPortionTableViewCellData *)data forAction:(NSString *)action;
4848

49-
- (void) setActionsForTableViewCell:(UITableViewCell *)cell withMainUIControlDelegate:(id)mainUIControlDelegate forPrimaryActionsArr:(NSArray *)arrActions;
49+
- (void)setActionsForTableViewCell:(UITableViewCell *)cell
50+
withMainUIControlDelegate:(id)mainUIControlDelegate
51+
forPrimaryActionsArr:(NSArray *)arrActions;
5052

51-
- (void) setActionForUIControl:(UIControl *)control withData:(FormPortionTableViewCellData *)data;
53+
- (void)setActionForUIControl:(UIControl *)control withData:(FormPortionTableViewCellData *)data;
5254

53-
- (void) setActionForUIControl:(UIControl *)control forControlEvents:(UIControlEvents)controlEvents withData:(FormPortionTableViewCellData *)data;
55+
- (void)setActionForUIControl:(UIControl *)control
56+
forControlEvents:(UIControlEvents)controlEvents
57+
withData:(FormPortionTableViewCellData *)data;
5458

55-
- (UITableViewCell *) getFormCellForKey:(NSString *)forKey forKindOfClass:(Class)aClass;
59+
- (UITableViewCell *)getFormCellForKey:(NSString *)forKey forKindOfClass:(Class)aClass;
5660

57-
- (void) keepInUserDefaults:(FormPortionTableViewCellData *)cellData forKey:(NSString *) forKey;
61+
- (void)keepInUserDefaults:(FormPortionTableViewCellData *)cellData forKey:(NSString *)forKey;
5862

59-
- (FormPortionTableViewCellData *) getCellDataFromUserDefaultsForKey:(NSString *)forKey;
63+
- (FormPortionTableViewCellData *)getCellDataFromUserDefaultsForKey:(NSString *)forKey;
6064

61-
- (NSString *) getDataStringFromTextFieldForCellKey:(NSString *)forKey;
65+
- (NSString *)getDataStringFromTextFieldForCellKey:(NSString *)forKey;
6266

63-
- (NSString *) getDataStringFromTextViewForCellKey:(NSString *)forKey;
67+
- (NSString *)getDataStringFromTextViewForCellKey:(NSString *)forKey;
6468

65-
- (BOOL) getBooleanFromSwitchForCellKey:(NSString *)forKey;
69+
- (BOOL)getBooleanFromSwitchForCellKey:(NSString *)forKey;
6670
@end

0 commit comments

Comments
 (0)