Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ekohe/EKStreamView
A scrolling view of a number of columns containing multiple cells with variable different heights for iOS, inspired by Pinterest.
https://github.com/ekohe/EKStreamView
Last synced: about 24 hours ago
JSON representation
A scrolling view of a number of columns containing multiple cells with variable different heights for iOS, inspired by Pinterest.
- Host: GitHub
- URL: https://github.com/ekohe/EKStreamView
- Owner: ekohe
- License: mit
- Created: 2012-05-09T08:42:25.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-08-22T22:32:39.000Z (about 11 years ago)
- Last Synced: 2024-10-16T00:03:22.349Z (21 days ago)
- Language: Objective-C
- Homepage:
- Size: 1.36 MB
- Stars: 297
- Watchers: 26
- Forks: 39
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome - EKStreamView - A scrolling view of a number of columns containing multiple cells with variable different heights for iOS, inspired by Pinterest. (etc)
- awesome - EKStreamView - A scrolling view of a number of columns containing multiple cells with variable different heights for iOS, inspired by Pinterest. (etc)
README
`EKStreamView` renders a number of columns containing multiple cells by reusing the cell views whenever possible, similar to `UITableView`. It's fast even you have hundreds of cells since only a small number of cells are actually created.
![EKStreamView](https://github.com/ekohe/EKStreamView/raw/master/screenshot.png "Screenshot")
## Usage ##
Copy `EKStreamView.h` and `EKStreamView.m` to your project. This class is ARC-enabled. You must build it with ARC.
Implement the required methods in `EKStreamViewDelegate` protocol, and implement the optional ones optionally. This class acts very similar as `UITableView`. However, in a `UITableView`, your cell should subclass `UITableViewCell`, while in `EKStreamView`, your cell is only required to conform to the protocol `EKResusableCell` to provide a reuse ID.