GitHub - brunow/BWSelectViewController: Controller that show a list of items that can be selectable.

Controller that show a list of items that can be selectable.

Copy BWSelectViewController dir into your project.

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.