Giter VIP home page Giter VIP logo

arntransitionanimator's People

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

arntransitionanimator's Issues

Swift 3 compatibility

Hello,
I'm writing to know whether this framework will be available for Swift 3 or if you know a method to make it compatible.
Thanks in advance.
Santiago.

Image zooms back to start position(ARNZoomImageTransition)

When I select(present modal viewcontroller) a cell from my TableViewController which was not visible at the start of the Controller, and dismiss it(animate back the modal presented view controller) the image animates back to the coordinates where the cell was at the start of the Controller.

Can you help me?

How to resolve black screen after closing modal VC?

I want to use this with tabBarController, I managed to add second VC and still have the miniPlayer in both of them but on the second one when I close modalVC everything becomes black except for miniPlayer.

Missing example on how to use version 2 with a navigation controller

Thanks for the awesome framework!
It looks much simpler with version 2.

However i cannot figure out how to implement my custom transition with a navigation controller instead of modally. I have looked at the SoundCloudTransition example to see how version 2 is used, but that only shows a modal presentation. The ARNZoomImageTransition example uses a navigation controller but is not updated to version 2, so it looks very different.

I would be very grateful if someone could update the examples or maybe provide some help here on how to do it.

Here is what I have right now in my root view controller which is contained in a navigation controller, but it does not seem to work:

        vc = NextViewController()
        let animation = NavigationTransitionAnimator(rootVC: self, toVC: vc)

        let gestureHandler = TransitionGestureHandler(targetVC: self, direction: .top)
        gestureHandler.registerGesture(bottomView)
        gestureHandler.panStartThreshold = 0
        gestureHandler.panCompletionThreshold = 500

        self.animator = ARNTransitionAnimator(duration: 0.4, animation: animation)
        self.animator?.registerInteractiveTransitioning(.push, gestureHandler: gestureHandler)

        self.navigationController?.transitioningDelegate = self.animator

Swift 3

ARNTransitionAnimator will be released to Swift 3.0?

Retain cycle in animator. Need to set completion properties to nil after animation.

Hi!
I was looking for already-made solution for custom transition. But when I checking your example for zoom transition https://github.com/xxxAIRINxxx/ARNZoomImageTransition
I noticed that deinit for detail controller never been called. After investigation I found that problem is in ARNTransitionAnimator.

public func animationEnded(transitionCompleted: Bool) {
        self.transitionContext = nil

        // also need to set completions to nil 
        self.presentationBeforeHandler = nil
        self.presentationAnimationHandler = nil
        self.presentationCancelAnimationHandler = nil
        self.presentationCompletionHandler = nil
        self.dismissalBeforeHandler = nil
        self.dismissalAnimationHandler = nil
        self.dismissalCancelAnimationHandler = nil
        self.dismissalCompletionHandler = nil
}

To be honest I didn't dive into iOS transition API deep enough to be sure where capturing occurs but I found this solution might help.

Please fix this as retain cycles cause crashes hard to detect.

Unbalanced calls to begin/end appearance transitions for

Hi, I am using MusicPlayerTransition and when I do the music player transition and I close it, the collection view or the table view segue said this: unbalanced calls to begin/end appearance transitions for. I search it in google and this is cause when you try and display a new viewcontroller before the current view controller is finished displaying.
I revised all my code and only happens when I show the player from the miniplayer and I close it. So when I show again the mini player and close it and I try to do a segue on the table to another viewcontroller who has a table it happens again. Can you solve it?

Getting this when update carthage

*** Checking out ARNTransitionAnimator at "1.1.0"
*** xcodebuild output can be found in /var/folders/dt/9xgv4q6x59zf6jy5mzr6v5bh0000gn/T/carthage-xcodebuild.ZsYlDc.log
*** Skipped building ARNTransitionAnimator due to the error:
Dependency "ARNTransitionAnimator" has no shared framework schemes

how to use it?

Hi I'm very new to animator so I have no idea how to use the code by just looking at the source code. Can you kindly include some code example for each transition? If you don't have time, zoom transition would be good enough :) really appreciate it!

How to implement?

Hi,
I want to use this great transition but I'm storing on the implementation.
When I embed it in the way as you show it in your example I don't get this to see.
It seams to be similar to yours but...?

conf1

When I start the App there are no parts from the very first ViewContiner to see.

result

What do I wrong?
Thank You!!!

Closing of view not working as opening

I implemented this library in my application. i am using UITabBarController for creating tab bar. when i open modal view controller it open perfectly using slide to up or using tap on mini player.

when i am closing big player slide to bottom not working and when i try to close via button it close but animation not there it close so quickly no animation like we open.

please help me what can be the problem.

screen shot 2017-06-09 at 9 28 27 am
screen shot 2017-06-09 at 9 28 56 am
screen shot 2017-06-09 at 9 29 51 am
screen shot 2017-06-09 at 9 30 01 am

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.