Latest 1.0.0
Homepage https://github.com/RokcyX/SRSheetSlideViewController
License MIT
Platforms ios 8.0, requires ARC
Authors

无代码侵入、基于手势的滑动控制器工具

效果

image
image

如何使用SRSheetSlide

使用CocoaPods安装:pod 'SRSheetSlide'

在需要将控制器变成卡片滑动控制器的地方引入头文件

#import "UIViewController+SRSheetSlide.h"

然后对需要变成卡片控制器的控制器对象调用

/**
 将当前控制器变成不支持手势的卡片控制器
 */
- (void)becomeSheet;

或者调用支持手势的方法即可

/**
 将当前控制器变成支持手势滑动的卡片控制器

 @param viewController 需要添加手势的控制器
 */
- (void)becomeSheetSlideOnViewController:(UIViewController *)viewController;

Latest podspec

{
    "name": "SRSheetSlide",
    "version": "1.0.0",
    "platforms": {
        "ios": "8.0"
    },
    "summary": "u65e0u4ee3u7801u4fb5u5165u3001u57fau4e8eu624bu52bfu7684u6ed1u52a8u63a7u5236u5668u5de5u5177",
    "homepage": "https://github.com/RokcyX/SRSheetSlideViewController",
    "license": {
        "type": "MIT"
    },
    "authors": {
        "Mr.H": "[email protected]"
    },
    "source": {
        "git": "https://github.com/RokcyX/SRSheetSlideViewController.git",
        "tag": "1.0.0"
    },
    "source_files": "SRSheetSlideViewControllerDemo/SRSheetSlideViewControllerDemo/SRSheetSlideViewController/*.{h,m}",
    "requires_arc": true
}

Pin It on Pinterest

Share This