Giter Club home page Giter Club logo

leftrightslider's Introduction

LeftRightSlider

add by jimple

在原作( https://github.com/heroims/LeftRightSlider )基础上进行了如下修改:

1、左右滑开时,主视图添加了一个半透明的遮罩。

2、修改了代码,现在可以在主视图添加一个正常的UINavigationController了。

3、增加 canMoveWithGesture 属性,方便外部停用左右滑动功能。

4、增加对left/right视图的检测,这样当一开始没有设置左/右视图时,对应滑动打开自动屏蔽不可用。

以下是原作的说明,非常感谢作者 @heroims

Screenshot1 Screenshot2

网易 ios7 左右拉动框架

把LRNavigationController文件夹和LeftRightSlider文件夹拖入项目即可,支持arc和非arc

LeftRightSlider文件夹为左右滑动框架

LRNavigationController文件夹为视差推出框架

Minimum Requirement

iOS 5.0

Installation

via CocoaPods

Install CocoaPods if you do not have it:-

$ [sudo] gem install cocoapods
$ pod setup

Create Podfile:-

$ edit Podfile
platform :ios, '5.0'
pod 'LRNavigationController',  '~> 1.0.0'
pod 'SliderViewController',  '~> 1.2.0'
$ pod install

Use the Xcode workspace instead of the project from now on.

leftrightslider's People

Contributors

heroims avatar jimple avatar

Stargazers

filcoin avatar Terry Xia avatar  avatar David Qu avatar august avatar  avatar 仔仔 avatar Sam Yang avatar Lynch Wong avatar v0tx avatar Dev Chen avatar 董德富 avatar

Watchers

James Cloos avatar  avatar FoxBabe avatar  avatar 柯烂 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.