Latest | 0.0.4 |
---|---|
Homepage | https://github.com/Otherplayer/HYQSFlow |
License | MIT |
Platforms | ios 5.0, requires ARC |
Dependencies | SDWebImage |
Authors |
=================================
A Simple WATER FLOW
Usage
Import
#import <HYQSFlow.h>
...
Use it!
/**
* 瀑布流view
*/
@interface HYQSFlow : UIView
@property (nonatomic, weak) id<HYQSFlowViewDataSource> dataSource;
@property (nonatomic, weak) id<HYQSFlowViewDelegate> delegate;
@property (nonatomic, assign) NSInteger columnNum; /*** 列的数目,默认为4*/
@property (nonatomic, assign) CGFloat itemSpacing; /*** cell的间距,默认为15*/
@property (nonatomic, assign) UIEdgeInsets contentInset;/*** 内容缩进,默认为UIEdgeInsetsZero*/
- (void)registerClass:(Class)cellClass forCellWithReuseIdentifier:(NSString *)identifier;
- (__kindof UICollectionViewCell *)dequeueReusableCellWithReuseIdentifier:(NSString *)identifier forIndexPath:(NSIndexPath *)indexPath;
- (void)reloadData;/*** 刷新数据*/
CocoaPods
Add HYQSFlow to your Podfile
and pod install
.
pod 'HYQSFlow', '~> 0.0.4'
License
These specifications and CocoaPods are available under the MIT license.
Latest podspec
{ "name": "HYQSFlow", "version": "0.0.4", "summary": "HYQSFlow,water flow", "homepage": "https://github.com/Otherplayer/HYQSFlow", "license": { "type": "MIT", "file": "LICENSE" }, "authors": { "Otherplayer": "[email protected]" }, "source": { "git": "https://github.com/Otherplayer/HYQSFlow.git", "tag": "0.0.4" }, "platforms": { "ios": "5.0" }, "source_files": "*.{h,m}", "requires_arc": true, "dependencies": { "SDWebImage": [ "~> 3.7.3" ] } }
Mon, 29 Feb 2016 02:21:02 +0000