欢迎关注我的博客 www.beyondabel.com
BATableViewKit 是自定义列表中的索引栏(Index Bar)。手指滑动 index bar 时,中间会出现黑色小浮块,并把 index Bar 上的字显示在黑色小浮块上,黑色小浮块上的字会随手指 index bar 变换。
创建 BATableView
BATableView *contactTableView = [[BATableView alloc] initWithFrame:self.view.bounds];
contactTableView.delegate = self;
[self.view addSubview:self.contactTableView];
实现 BATableViewDelegate、UITableViewDataSource、UITableViewDelegate 协议
BATableView 根据 MIT 许可证发布