Latest 0.0.5
Homepage https://github.com/CoderST/STWaterfallLayout
License MIT
Platforms ios 8.0, requires ARC
Authors

swift3.0写的一个自定义瀑布流

  • An easy way to use FallLayout

How to use STWaterfallLayout

  • Installation with CocoaPods:pod ‘STWaterfallLayout’

  • Manual import:

    • Drag All files in the STWaterfallLayout folder to project
  • About how to FallLayout

    • The following STWaterfallLayoutDataSource are followed and implemented
      “`@objc
      /// 返回多少列
      func numberOfCols(stWaterfallLayout : STWaterfallLayout)->Int

    /// 每一个item的高度
    func heightOfItem(stWaterfallLayout : STWaterfallLayout, indexPath : NSIndexPath, itemWidth : CGFloat)->CGFloat


![(image)](https://github.com/CoderST/STWaterfallLayout/blob/master/STWaterfallLayoutExample/show.gif)

Latest podspec

{
    "name": "STWaterfallLayout",
    "version": "0.0.5",
    "summary": "swiftu7248u672cu7011u5e03u6d41.",
    "platforms": {
        "ios": "8.0"
    },
    "homepage": "https://github.com/CoderST/STWaterfallLayout",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "CoderST": "[email protected]"
    },
    "source": {
        "git": "https://github.com/CoderST/STWaterfallLayout.git",
        "tag": "0.0.5"
    },
    "requires_arc": true,
    "source_files": "STWaterfallLayout/*.swift",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This