Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rosberry/rsbtableviewmanager
Powerful tool for making your UITableView usage simple and comfortable
https://github.com/rosberry/rsbtableviewmanager
ios objective-c uikit uitableview
Last synced: 2 days ago
JSON representation
Powerful tool for making your UITableView usage simple and comfortable
- Host: GitHub
- URL: https://github.com/rosberry/rsbtableviewmanager
- Owner: rosberry
- License: mit
- Created: 2017-01-31T10:43:18.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-20T07:08:21.000Z (almost 8 years ago)
- Last Synced: 2025-01-31T03:45:49.694Z (12 days ago)
- Topics: ios, objective-c, uikit, uitableview
- Language: Objective-C
- Homepage: https://rosberry.com
- Size: 25.4 KB
- Stars: 8
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RSBTableViewManager #
With this manager you will never need to write any `UITableViewDelegate` or `UITableViewDataSource` methods anymore.
### Install via Cocoapods ###
```
pod 'RSBTableViewManager'
```
to your `Podfile` and run
```
pod install
```### How to use ###
It is easy as pie. All you need to do is
```
RSBTableViewManager *tableViewManager = [[RSBTableViewManager alloc] initWithTableView:tableView];
[tableViewManager setSectionItems:sectionItems];
```
That's all.
As you already understand you need section items for manager to work. This items are describe your table view's sections and contain cell items. The only purpose of cell item is describing cell's representation in table view.For creating section items you need subclass/use `RSBTableViewSectionItem` or create/use your own class which will adopt `RSBTableViewSectionItemProtocol` and fill it with cell items. You can create them by subclass/use `RSBTableViewCellItem` or create/use your own class which will adopt `RSBTableViewCellItemProtocol` for cell items.
Each cell item represents one cell class at a time and contains all related datasource and delegate methods for displaying it and handling events related to cell.
Didn't understand something? Download repo and run example project.