Skip to content
Simple replacment for UITableView Index which allows the colors to be changed
Objective-C
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
CMIndexBar.h
CMIndexBar.m
LICENSE
README.md

README.md

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
Something went wrong with that request. Please try again.