TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Jan 2016 |
Maintained by Kcat.
CatDetailViewController is a quicker way to create a viewcontroller for different type information enter,such as text,date or table!CatDetailViewController can make your code compectly,and replace delegate way!
CatDetailViewController is available on CocoaPods.Just add the following to your project Podfile:
pod 'CatDetailViewController'
-(instancetype)initChinaCityPickerViewWithTitle:(NSString *)title
saveHandle:(void(^)(NSString *saveResult))saveHandle;
#import "CatDetailViewController"
CatDetailViewController *detailView = [[CatDetailViewController alloc] initSingleSectionViewWithTitle:@"Select Color" sections:@[@"Red",@"Blue"] defaultSectionText:cell.detailTextLabel.text saveHandle:^(NSString *saveResult) {
//Do anything you want
}];
[detailView detailViewShowOnViewController:self];
CatDetailViewController is depend on UINavigationController, so don't forget it!