Latest1.2
Homepagehttps://github.com/MonkeyS914/SCSlider
LicenseMIT
Platformsios 6.0
FrameworksUIKit, CoreGraphics, Foundation
Authors

侧滑导航栏

SCSliderViewController ViewcController侧滑效果 左滑右滑拉出侧边菜单栏

image

简单集成

使用方法,把SCSliderViewController文件夹拖到自己工程下面

import SliderMenu.h

在你的代码中添加下面一段

SliderMenu *sliderMenuViewController = [[SliderMenu alloc] initWithContentViewController:navigationController leftMenuViewController:leftMenuViewController rightMenuViewController:rightMenuViewController];

//添加背景图片

sliderMenuViewController.backgroundImage = [UIImage imageNamed:@"back.jpg"];

//设置代理

sliderMenuViewController.delegate = self;

//添加手势识别

sliderMenuViewController.enableGesture = YES;

//设置动画时间

sliderMenuViewController.animationDuration = 0.4f;

还有其他参数可以在SliderMenu.m文件parameterInit函数里面设置

image
image
image
image

Latest podspec

{
    "name": "SCSlider",
    "version": "1.2",
    "summary": "u4fa7u6ed1u83dcu5355u680f",
    "description": "A longer description of SCSlider in Markdown format.nn* Think: Why did you write this? What is the focus? What does it do?n* CocoaPods will be using this to generate tags, and improve search results.n* Try to keep it short, snappy and to the point.n* Finally, don't worry about the indent, CocoaPods strips it!",
    "homepage": "https://github.com/MonkeyS914/SCSlider",
    "license": "MIT",
    "authors": {
        "MonkeyS914": "[email protected]"
    },
    "platforms": {
        "ios": "6.0"
    },
    "source": {
        "git": "https://github.com/MonkeyS914/SCSlider.git",
        "tag": "1.2"
    },
    "source_files": "SCSlider/**/*.{h,m}",
    "exclude_files": "SCSlider/Exclude",
    "frameworks": [
        "UIKit",
        "CoreGraphics",
        "Foundation"
    ]
}

Pin It on Pinterest

Share This