Latest 1.0.2
Homepage https://github.com/iosdeveloperSVIP/YMChannelSwitching
License MIT
Platforms ios 8.0, requires ARC
Authors
  • 两种方式集成
  • 方式一:直接将频道视图以及cell视图添加到你想添加的视图上面,那么只需要将YMChannelSwitching添加到视图上面即可
  • 方式二:如果你想将频道视图添加到navigationItem上,那么请单独添加属性:ym_channersView和ym_collectionView(frame需要单独设置)
  • 初始化方法参数介绍:fram、代理控制器、频道的字符串数组,之后请根据字符串标识注册cell
  • 协议:YMChannelSwitchingDelegate 代理方法(在这里你直接看成返回cell的数据源方法即可),你可以在代理方法返回不同标识的cell
  • 具体请下载参考示例程序

GitHub:iosdeveloperSVIP
    邮箱:iosdeveloper@vip.163.com

Latest podspec

{
    "name": "YMChannelSwitching",
    "version": "1.0.2",
    "summary": "Two lines of code get complex channel switching function",
    "homepage": "https://github.com/iosdeveloperSVIP/YMChannelSwitching",
    "license": "MIT",
    "authors": {
        "zhaoyimin": "iosdeveloper@vip.163.com"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/iosdeveloperSVIP/YMChannelSwitching.git",
        "tag": "1.0.2"
    },
    "source_files": "YMChannelSwitching/*.{h,m}",
    "requires_arc": true
}

Pin It on Pinterest

Share This