TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | Custom |
ReleasedLast Release | Nov 2016 |
Maintained by Unclaimed.
Controller that show a list of items that can be selectable.
Copy BWSelectViewController dir into your project.
Or with Cocoapods
pod 'BWSelectViewController', :git => "https://github.com/brunow/BWSelectViewController.git", :tag => "0.4.3"
BWSelectViewController *vc = [[BWSelectViewController alloc] init];
vc.items = [NSArray arrayWithObjects:@"Item1", @"Item2", @"Item3", @"Item4", nil];
vc.multiSelection = NO;
vc.allowEmpty = YES;
[vc setDidSelectBlock:^(NSArray *selectedIndexPaths, BWSelectViewController *controller) {
NSLog(@"%@", selectedIndexPaths);
}];
[self.navigationController pushViewController:vc animated:YES];
BWSelectViewController is ARC only.