Latest1.0.4
Homepagehttps://github.com/keisme/CombinedScrollView
LicenseMIT
Platformsios 10.0
Authors

几行代码快速生成联动的Scrollview视图(菜单+内容视图)

CombinedScrollView

Installation

  • CocoaPods:
    pod 'CombinedScrollView', '~> 1.0.3'
  • Maually:
    Drag the folder CombinedScrollView to your Xcode project and then use it!

Usage

let vc  = CombinedScrollView(naviTitles: ["test1", "test2", "test3", "test4"], vcNames: ["test1", "test2", "test3", "test4"], sbNames: nil, frame: CGRect(x: 0, y: 0, width: view.bounds.width, height: view.bounds.height))
vc.showIndicatorLine = true
self.addChildViewController(vc)
view.addSubview(vc.view)

or

let vc = CombinedScrollView(naviTitles: ["sb1", "sb2", "sb3", "sb4"], vcNames: nil, sbNames: ["sb1", "sb2", "sb3", "sb4"], frame: CGRect(x: 0, y: 0, width: view.bounds.width, height: view.bounds.height))
vc.showIndicatorLine = true
self.addChildViewController(vc)
view.addSubview(vc.view)

Latest podspec

{
    "name": "CombinedScrollView",
    "version": "1.0.4",
    "summary": "u51e0u884cu4ee3u7801u5febu901fu751fu6210u8054u52a8u7684 Scrollview u89c6u56feuff08u83dcu5355+u5185u5bb9u89c6u56feuff09",
    "description": "u5febu901fu751fu6210u53efu81eau5b9au4e49u7684u8054u52a8u7684 Scrollview u89c6u56feuff08u83dcu5355+u5185u5bb9u89c6u56feuff09",
    "homepage": "https://github.com/keisme/CombinedScrollView",
    "license": "MIT",
    "authors": {
        "keisme": "keisme.cn"
    },
    "platforms": {
        "ios": "10.0"
    },
    "source": {
        "git": "https://github.com/keisme/CombinedScrollView.git",
        "tag": "1.0.4"
    },
    "source_files": "CombinedScrollView/*"
}

Pin It on Pinterest

Share This