Latest 1.0.1
Homepage https://github.com/TLOpenSpring/TLTranstionLib
License MIT
Platforms ios 8.0
Authors

<<<<<<< HEAD

CI Status
Version
License
Platform

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

效果图

System

system

Fade

fade

FromLeft

fromLeft

FlibOver

flibover

CoverFromTop

coverFromTop

Devide

devide

FromTop

fromTop

CoverFrombottom

bottom

Cube

cube

Explode

explode

Card

Card

trun

trun

Flip

flip

Geo

geo

Portal

Portal

Fold

Fold

Installation

TLTranstionLib is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "TLTranstionLib"

How to use

  1. 首先引入类库 #import <TLTranstionLib/UINavigationController+TLTransition.h>
  2. 指定导航控制器的转场风格:
//设置转场动画
self.navigationController.animatorStyle=TLAnmimatorStyleTurn;
//设置动画时间,这行代码一定要在下面
self.navigationController.animatorDuration=0.7;

转场动画的类型定义:

typedef NS_ENUM (NSInteger, TLAnimatorStyle) {
    TLAnmimatorStyleSystem  =   1 << 0,
    TLAnmimatorStyleFade    =   1 << 1,
    TLAnmimatorStyleDivide  =   1 << 2,
    TLAnmimatorStyleFromTop =   1 << 3,
    TLAnmimatorStyleFromLeft=   1 << 4,
    TLAnmimatorStyleFlipOver=   1 << 5,
    TLAnmimatorStyleCoverVerticalFromTop=   1 << 6,
    TLAnmimatorStyleCoverVerticalFromBottom=   1 << 7,
    TLAnmimatorStyleCube=   1 << 8,
    TLAnmimatorStylePortal=   1 << 9,
    TLAnmimatorStyleCard=   1 << 10,
    TLAnmimatorStyleFold=   1 << 11,
    TLAnmimatorStyleExplode=   1 << 12,
    TLAnmimatorStyleTurn=   1 << 13,
    TLAnmimatorStyleGeo=   1 << 14,
    TLAnmimatorStyleFlip=   1 << 15,
    TLAnmimatorStyleNone = 1 << 100
};

Author

Andrew, [email protected]

License

TLTranstionLib is available under the MIT license. See the LICENSE file for more info.

ViewController之间切换动画的类库,动画效果全,API简单

f04060ba3b4fbb45f82cad56a2ee08b20bb1e3df

Latest podspec

{
    "name": "TLTranstionLib",
    "version": "1.0.1",
    "summary": "u53f2u4e0au6700u5168u7684ViewControlleru4e4bu95f4u5207u6362u52a8u753bu7684u7c7bu5e93uff0cAPIu7b80u5355u6613u7528",
    "description": ""u5145u5206u5229u7528u4e86ios7u4e2du65b0u589eu7684api,u81eau5b9au4e49ViewContrlleru8f6cu573au52a8u753bu7279u6548uff0cu8be5u7c7bu5e93u4e0du4ec5u53efu4ee5u5728Viewcontrolleru4e4bu95f4u5207u6362u4f7fu7528uff0cu5728UINavigationControlleru548cUItabbarControlleru4e2du540cu6837u9002u7528"",
    "homepage": "https://github.com/TLOpenSpring/TLTranstionLib",
    "license": "MIT",
    "authors": {
        "Andrew": "[email protected]"
    },
    "source": {
        "git": "https://github.com/TLOpenSpring/TLTranstionLib.git",
        "tag": "1.0.1"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "TLTranstionLib/Classes/**/*"
}

Pin It on Pinterest

Share This