V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
iOS 开发实用技术导航
NSHipster 中文版
http://nshipster.cn/
cocos2d 开源 2D 游戏引擎
http://www.cocos2d-iphone.org/
CocoaPods
http://cocoapods.org/
Google Analytics for Mobile 统计解决方案
http://code.google.com/mobile/analytics/
WWDC
https://developer.apple.com/wwdc/
Design Guides and Resources
https://developer.apple.com/design/
Transcripts of WWDC sessions
http://asciiwwdc.com
Cocoa with Love
http://cocoawithlove.com/
Cocoa Dev Central
http://cocoadevcentral.com/
NSHipster
http://nshipster.com/
Style Guides
Google Objective-C Style Guide
NYTimes Objective-C Style Guide
Useful Tools and Services
Charles Web Debugging Proxy
Smore
BoyceChang
V2EX  ›  iDev

iOS 类似 MagicMove Transition 开源代码

  •  
  •   BoyceChang · Nov 24, 2015 · 2707 views
    This topic created in 3817 days ago, the information mentioned may be changed or developed.

    BCMagicTransition

    自定义 UINavigationController 的切换动画。
    效果类似 Keynote 软件中 Magic Move 切换,可以用于任意两个 UIViewController 之间,只需要前后两个 ViewController 均继承 BCMagicTransitViewController ,并指定两个 VC 中的相同元素即可。

    项目地址:GihHub

    效果演示:
    BCMagicTransition

    使用

    pod 'BCMagicTransition'
    
    #import "UIViewController+BCMagicTransition.h"
    
    @interface MyViewController : <BCMagicTransitionProtocol>
    
    
    - (void)push
    {
        ... ...
    
        [self pushViewController:secondVC fromViews:fromViews toViews:toViews duration:0.3];
    }
    
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5199 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 01:10 · PVG 09:10 · LAX 18:10 · JFK 21:10
    ♥ Do have faith in what you're doing.