Latest 0.0.7
Homepage https://github.com/a422649342/SliderViewController
License MIT
Platforms ios 8.0
Frameworks Foundation, UIKit
Authors

SliderViewController

Build Status codecov.io
Carthage compatible CocoaPods compatible License: MIT

slider

SliderMenuController 这是一个仿照网易新闻客户端的侧滑出的广告demo,侧滑的ViewController的Demo,详细参数设置可以参照SliderMenuController里面去设置,有一一有说明


MainViewController * main = [[MainViewController alloc] init];n
SideViewController * side = [[SideViewController alloc] init];n
UINavigationController * nav = [[UINavigationController alloc] initWithRootViewController:main];
SliderMenuController *slider = [[SliderMenuController alloc] initWithMenuViewController:side
contentViewController:nav];
slider.menuViewOverlapWidth = 80.f;
slider.bezelWidth = [[UIScreen mainScreen] bounds].size.width;
slider.contentViewOpacity = 0.2f;
slider.contentViewScale = 0.96f;
slider.panFromBezel = YES;
slider.panFromNavBar = YES;
slider.animationDuration = 0.3f;
slider.shadowOffset = CGSizeMake(8,0);
slider.shadowOpacity = 0.3;
slider.shadowRadius = 3;
});

Latest podspec

{
    "name": "slider",
    "version": "0.0.7",
    "summary": "A short description of slider.",
    "description": "LZTool u662fu4e00u4e2au7528u4e8eu4fddu5b58u4e00u4e9bu5e38u7528u5de5u5177u7c7bu7684u5de5u5177",
    "homepage": "https://github.com/a422649342/SliderViewController",
    "license": "MIT",
    "authors": {
        "dz": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/a422649342/SliderViewController.git",
        "tag": "0.0.7"
    },
    "source_files": "SideMenuController/*.{h,m}",
    "frameworks": [
        "Foundation",
        "UIKit"
    ]
}

Pin It on Pinterest

Share This