CocoaPods trunk is moving to be read-only. Read more on the blog, there are 14 months to go.
| TestsTested | ✗ |
| LangLanguage | Obj-CObjective C |
| License | MIT |
| ReleasedLast Release | Jan 2016 |
Maintained by BurrowsWang.
BWHorizontalTableView is an efficient horizontal table view based on Objective-c with same usage and interface as UITableView.
API documentation is available at CocoaDocs - BWHorizontalTableView.
Sample project can be found here. If you know how to use UITableView in your iOS project, you already know how to use BWHorizontalTableView.
First of all, you should provide dataSource and delegate of the horizontal table view.
BWHorizontalTableView *tableView = [[BWHorizontalTableView alloc] init];
tableView.frame = rect;
tableView.dataSource = your-data-source;
tableView.delegate = your-delegate;Your data source should conforms to BWHorizontalTableViewDataSource and implement the following methods:
- (NSInteger)numberOfSectionsInHorizontalTableView:(BWHorizontalTableView *)tableView;
- (NSInteger)horizontalTableView:(BWHorizontalTableView *)tableView
numberOfColumnsInSection:(NSInteger)section;
- (BWHorizontalTableViewCell *)horizontalTableView:(BWHorizontalTableView *)tableView
cellForColumnAtIndexPath:(NSIndexPath *)indexPath;Your delegate object should conforms to BWHorizontalTableViewDelegate and implement the methods defined in protocol BWHorizontalTableViewDelegate according to your needs.
- (CGFloat)horizontalTableView:(BWHorizontalTableView *)tableView
widthForColumnAtIndexPath:(NSIndexPath *)indexPath;
- (void)horizontalTableView:(BWHorizontalTableView *)tableView
didSelectColumnAtIndexPath:(NSIndexPath *)indexPath;Embedded Binaries
-ObjC TO BUILD SETTING Other Linker Flags
All source code is licensed under the MIT License.