sehone/IIIThumbFlow
소개
IIIThumbFlow is a simple iOS view component for presenting images in a vertical flow style.
디자인 및 미디어What you can do
- Change data source for images dynamically.
- Set number of columns dynamically.
- Reload images at the end of user dragging, instead of decelerating.
- Return index of tapped image.
측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalIIIThumbFlow
Summary
IIIThumbFlow is a simple iOS view component for presenting images in a vertical flow style. It supports both local and web images. It's optimized in various aspects, you can load unlimited images in IIIThumbFlow.
![]()
Optimization
- Reuse cells (like UITableView).
- Cache images (both memory and disk layers).
- Use thumbs instead of original images.
Other features
- Change data source for images dynamically.
- Set number of columns dynamically.
- Reload images at the end of user dragging, instead of decelerating.
- Return index of tapped image.
How to use it
- Link binary with libraries:
MapKit.framework,ImageIO.framework. - Add the IIIThumbFlow folder to your project.
- Implement the
IIIFlowViewDelegatemethods in your view controller:- (NSInteger)numberOfColumns;- (NSInteger)numberOfCells;- (CGFloat)rateOfCache;- (IIIFlowCell *)flowView:(IIIFlowView *)flow cellAtIndex:(int)index;- (IIIBaseData *)dataSourceAtIndex:(int)index;
Check out IIIFlowViewDelegate for more information.
Requirements
IIIThumbFlow uses ARC. If you are not using ARC in your project, add '-fobjc-arc' as a compiler flag for all the files in IIIThumbFlow.
Included libraries
IIIThumbFlow uses SDWebImage v2.0 to cache images. The author has done really great job on performance and memory usage optimization about images. See [How is SDWebImage better than X?][2] [1]: https://github.com/rs/SDWebImage/tree/2.0-compat "SDWebImage" [2]: https://github.com/rs/SDWebImage/wiki/How-is-SDWebImage-better-than-X%3F
Licenses
All source code is licensed under the [MIT License][3] [3]: https://raw.github.com/sehone/IIIThumbFlow/master/LICENSE.md
관련 프로젝트 살펴보기
불러오는 중…