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: 10 days 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 (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2013-08-22T22:32:39.000Z (over 11 years ago)
- Last Synced: 2025-03-31T11:21:08.252Z (15 days ago)
- Language: Objective-C
- Homepage:
- Size: 1.36 MB
- Stars: 296
- Watchers: 25
- 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.

## 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.