GithubHelp home page GithubHelp logo

applidium / adtransitioncontroller Goto Github PK

View Code? Open in Web Editor NEW
1.2K 1.2K 185.0 727 KB

UINavigationController with custom transitions

Home Page: http://applidium.github.io/ADTransitionController/

License: Other

Ruby 0.58% Objective-C 99.42%

adtransitioncontroller's People

Contributors

farfromrefug avatar felginep avatar fwaddle avatar laviallb avatar yosit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

adtransitioncontroller's Issues

navigationBar in Landscape

Just realized that the navigationBar doesnt change it s height on orientation change.
Not sure why yet

won't work with orientation change

I just wanted to let you know that most transitions wont work with orientation change.
The reason is quite simple.
you set the animations rect during int. This is wrong. You should init the animation just before using it.
A simple example of failure

  1. rotate your device to landscape
  2. open a controller with SWIPE
  3. rotate your device to portrait
  4. popViewController

See the animation not working (which is totally normal!)

I will rewrite transitions for it to work. Let me know if you want a PR

iOS7

are you migrating your fantastic code to iOS7?
i need it, soon ;)

thanks for your work!

Using ADTransitioningDelegate with UITabBarControllerDelegate

I would like to use ADTransitionController with UITabBarController.
Based on the example for UINavigationController I created a delegate for UITabBarController and used ADTransitioningDelegate there.

Everything was fine but after 3 switches between tabs the app was stuck and stopped working.

Is there any issues when working with UITabBarController?

Thanks in advance!

Flicker at the end of transition animation.

If the two transitioning views have transparent backgrounds, you see a flicker at the end of the animation.

I resolved it by adding the following in ADDualTransition.m, at the end of finishInit

_inAnimation.fillMode = _outAnimation.fillMode = kCAFillModeForwards;
_inAnimation.removedOnCompletion = _outAnimation.removedOnCompletion = NO;

I haven't tested across all transitions, but it seems to do the trick for ADSwipeTransition.

Xcode 7 GM build failed

'objc_designated_initializer' attribute only applies to init methods of interface or class extension declarations

  • (instancetype)initWithNibName:(nullable NSString *)nibNameOrNil bundle:(nullable NSBundle *)nibBundleOrNil NS_DESIGNATED_INITIALIZER;

CertUIFramework.axbundle (not loaded)

Hi all,
I integrated ADTransitionController into my app but when I run it into simulator, I get this error:

Cannot find executable for CFBundle 0x9b99ad0 </Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk/System/Library/AccessibilityBundles/CertUIFramework.axbundle> (not loaded)

Can you help me please?

Thanks

Luca

Demo project problem & Crash

Hey,

I just ran the demo project and got a crash: When I do some transitions and then press back till I'm back at the beginning and then trigger another transition the demo app crashes. Does anyone else see this / know what do about it?

In the video I'm seen, the title text in the middle of the navigation bar does swipe to the right when a transitions happens (Just like with a normal UINavigationController). When running them demo project and my phone and iPad this does not happen. The title test just changes. What is wrong here?

ios7 support

ADTransitionController doesn't seem to be supporting new ios7 features like:

  • edgesForExtendedLayout
  • extendedLayoutIncludesOpaqueBars
  • automaticallyAdjustsScrollViewInsets
  • translucent

Could you rename the "CGRectCenter" function in DTUtils.m?

When I integrate the ADTransitionController and DTCoreText with CocoaPods,I get the compiling error:

duplicate symbol _CGRectCenter in:
/Users/jcccn/Library/Developer/Xcode/DerivedData/XXX-dfwqdrktuxtadrbmltnhcihaucsu/Build/Products/Debug-iphonesimulator/libPods.a(ADZoomTransition.o)
/Users/jcccn/Library/Developer/Xcode/DerivedData/XXX-dfwqdrktuxtadrbmltnhcihaucsu/Build/Products/Debug-iphonesimulator/libPods.a(DTUtils.o)
ld: 1 duplicate symbol for architecture i386

And I haven't got a resolution for that.

So, If you can help me fix that, then thank you so so much.

View becomes detached from window

In certain circumstances the main view becomes detached from the window after a transition. If I try to update the parent viewcontroller due to orientation changes for example. When I come back it appears and then immediately disappears after viewDidAppear. Occasionally, the same is true for viewcontroller I move towards. The viewcontroller appears then immediately disappears after transition. Any thoughts?

View has been resized after transition

I have the following configuration - UIViewController placed in UINavigationController which is placed in UITabBarController.

My view is added as subview to the view of UIViewController and has constraints to fill the space between navigation bar and tab bar. Everything works if I do not use transitions (ADTransitionController does not work). When I activate ADTransitionController the animation itself works fine but when it's completed I find that my view has been resized - the new height is smaller by 49 points (the height of Tab bar).

It looks like ADTransitionController is responsible for the resizing of my view but I cannot understand the reason and find where it happens. Could you help me?
Thanks in advance!

having issues with view controller

hi,

your project is very cool - thanks!

but, am trying to use it per the demo - similar to a drop in replacement for UINavCon
i have a loadview in my main ViewCon which creates and loads the view.
everything was working for long time, but now with your transition controller, my main view gets shrunk to a small rect at the top left - i've checked the frame bounds, etc. they are fine - any idea?

am not able to use your awesome product - plz help - thx
paul.

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.