Latest 1.0.2
Homepage https://github.com/JanmyLo/LZMSideslipManager
License MIT
Platforms ios 8.0, requires ARC
Authors

一款轻量的多页面管理框架工具,类似QQ的侧滑效果,支持左右侧滑,点击/拖动手势都能操作。
A simply multi-views manager tool based on Objective-C which supports left-right direction slip.

示例

image

Cocoapods:

pod 'LZMSideslipManager', '~> 1.0.2'

Github:
   
  将LZMSideslipManager文件夹中的文件加入项目即可导入使用。

使用方法:

#import "LZMSideslipViewController.h"

LZMMainViewController *mainVC = [[LZMMainViewController alloc]init];
LZMLeftViewController *leftVC = [[LZMLeftViewController alloc]init];
LZMRightViewController *rightVC = [[LZMRightViewController alloc]init];
CGFloat scale = 0.75;

LZMSideslipViewController *slipVC = [[LZMSideslipViewController alloc]initWithLeftVC:leftVC MainVC:mainVC rightVC:rightVC andScale:scale];

self.window.rootViewController = slipVC;

两边侧滑页可根据需求开关:

slipVC.allowRightSideslip = NO;
//slipVC.allowLeftSideslip = NO;

注意:左右视图的界面元素绘制不要放在viewDidLoad中,会造成sideslipController进行侧滑页面缩放操作无效!

Latest podspec

{
    "name": "LZMSideslipManager",
    "version": "1.0.2",
    "summary": "A simply multi-views manager tool based on Objective-C which supports left-right direction slip.",
    "description": "u4e00u6b3eu8f7bu91cfu7684u591au9875u9762u7ba1u7406u6846u67b6u5de5u5177uff0cu7c7bu4f3cQQu7684u4fa7u6ed1u6548u679cuff0cu652fu6301u5de6u53f3u4fa7u6ed1uff0cu70b9u51fb/u62d6u52a8u624bu52bfu90fdu80fdu64cdu4f5cu3002A simply multi-views manager tool based on Objective-C which supports left-right direction slip.",
    "homepage": "https://github.com/JanmyLo/LZMSideslipManager",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "u5a04u5fe0u660e-JanmyLo": "[email protected]"
    },
    "source": {
        "git": "https://github.com/JanmyLo/LZMSideslipManager.git",
        "tag": "v1.0.2"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "LZMSideslipManager",
    "requires_arc": true
}

Pin It on Pinterest

Share This