CocoaPods trunk is moving to be read-only. Read more on the blog, there are 12 months to go.
| TestsTested | ✗ |
| LangLanguage | Obj-CObjective C |
| License | MIT |
| ReleasedLast Release | Mar 2015 |
Maintained by Daniel Thengvall.
ViewController.h view file
#import "DTFormViewController.h"
@interface ViewController : DTFormViewController
@endViewController.m view file
- (void)viewDidLoad {
[super viewDidLoad];
[super setFormObjects:@[
// Array of objects that extend DTBaseFormObject
]];
}NOTE you dont have to execute setFormObjects in the viewDidLoad method, it can be called from anywhere.
ExampleTextInputFormObject.h view file
#import "DTBaseFormObject.h"
@interface ExampleTextInputFormObject : DTBaseFormObject
- (ExampleTextInputFormObject *)initWithPlaceholder:(NSString *)placeholderText onChanged:(void (^)(NSString *text))onChangedBehavior;
@endExampleTextInputFormObject.m view file
- (UICollectionViewCell *)toCollectionViewCell:(UICollectionView *)collectionView :(NSIndexPath *)indexPath {
UICollectionViewCell *exampleCell = [collectionView dequeueReusableCellWithReuseIdentifier:@"example" forIndexPath:indexPath];
// Customize cell
return exampleCell;
}DTFormMenuController is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'DTFormMenuController', '0.1.8'
You can easily update your project to use CocoaPods:
sudo gem install cocoapodsplatform :ios, deployment_target: '8.0'
pod 'DTFormMenuController', '0.1.8'pod installDTHENG, [email protected]
DTFormMenuController is available under the MIT license. See the LICENSE file for more info.