Skip to content

CraigMerchant/CMIndexBar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple replacement for UITableView Index that allows setting of colors.

Now it supports ARC.

Usage example:

CMIndexBar *indexBar = [[CMIndexBar alloc] initWithFrame:CGRectMake(self.view.frame.size.width-35, 10.0, 28.0, self.view.frame.size.height-20)];
[indexBar setIndexes:[NSMutableArray arrayWithObjects:@"A",@"B",@"C",@"D",@"E",@"F",@"G", nil]];
[self.view addSubview:indexBar];

Delegate:

- (void)indexSelectionDidChange:(CMIndexBar *)indexBar index:(NSInteger)index title:(NSString*)title;

ToDo:

  1. Font changing support
  2. UITableViewIndexSearch glyph support

About

Simple replacment for UITableView Index which allows the colors to be changed

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5