Code Monkey home page Code Monkey logo

rmpzoomtransitionanimator's People

Contributors

cocoabob avatar hikarusato avatar ko0f avatar m1entus avatar mickeyl avatar mpon 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

rmpzoomtransitionanimator's Issues

Unable to install - Please update the pod File.

Issue 1 - The pod file is outdated, while doing Pod Install it shows errors.

After modifying pod file issue got resolved. Follow the link below.
button/DeepLinkKit#106

Issue 2 - [!] No podspec found for RMPZoomTransitionAnimator in .

could not find a fix for this.

Can you please update the description or please the project, i request you make it work.

Hope the needful

Thanks in advance.

Transition breaks navigation controller

I have the following structure:
Navigation Controller -(1)-> TableViewController -(2)-> TableViewController -(3)-> CollectionViewController -(4) -> CollectionViewController.
RMPZoomTransitionAnimator is applied on segue (4). If I press back button in the middle of the animation, nothing happens and it goes with the animation back as expected. And the following message appears:

nested pop animation can result in corrupted navigation bar
Finishing up a navigation transition in an unexpected state. Navigation Bar subview tree might get corrupted.

And after that, I have to press several time back button in order to go to TableViewController (3)

call transitionDestinationImageViewFrame after UICollectionView reload data

I have a collection view controller, and it's datasource come from a view controller that push it. Every time I push this collection view controller, it's datasource will get reloaded. I set two breakpoints to cellForItemAtIndexPath and transitionDestinationImageViewFrame. The first function get called is transitionDestinationImageViewFrame and then cellForItemAtIndexPath. When it's in transitionDestinationImageViewFrame, the collection view cell is not init yet, so there is no way the animation will work. So, how to call transitionDestinationImageViewFrame after the collection view controller finished reload data, for example cellForItemAtIndexPath.

[Enhancement] Callback on animation completions

Hello,

It would be great to have two optionals methods in RMPZoomTransitionAnimating protocol to be notified of the end of the forward and backward animations.

Great work by the way.

Cheers

cant conform to RMPZoomTransitionAnimating protocol

Hi

I'm trying to implement this animation in a Swift project.
The problem I'm facing is that whenever my destinationController or sourceController is checked in RMPZoomTransitionAnimator.m for conformity to the RMPZoomTransitionAnimating protocol the check always fails, even though I implement the protocol in the controllers.

What is there that I don't know?

Add support for UIViewControllerInteractiveTransitioning

If you use this animator in navigation controller animations, it will be disable to use edge swipe gesture to pop a navigation controller.

You can avoid that temporarily like a below code.

- (void)viewDidLoad
{
    [super viewDidLoad];
    // receive interactivePopGestureRecognizer delegate from your UINavigationController
    self.navigationController.interactivePopGestureRecognizer.delegate = self;
}

- (BOOL)gestureRecognizerShouldBegin:(UIGestureRecognizer *)gestureRecognizer
{
    // remember swiping here
    return YES;
}

- (id <UIViewControllerAnimatedTransitioning>)navigationController:(UINavigationController *)navigationController
                                   animationControllerForOperation:(UINavigationControllerOperation)operation
                                                fromViewController:(UIViewController *)fromVC
                                                  toViewController:(UIViewController *)toVC
{
    if (/* if edge swiping */) {
        return nil;
    }
    return animator;
}

Navigation Bar flashes white color

For some reason, when I close from a modal presentation, my red navigation bar flashes white before switching back to red. Do you have any ideas on why this might be happening?

Top Layout Guide incorrect when coming back to original screen

Hi all,

The scenario I have is that the collection view has a few images, and when tapped the images are shown full screen. The first screen with the collection view has the status bar showing but the full screen image viewer does not.
The animation to go forward works fine as does the animation going back but the views no longer look write because the top layout guide is not correct.
If I show the status bar on the image viewer it all works fine.
My problem looks very similar to this one:
http://stackoverflow.com/questions/20312765/navigation-controller-top-layout-guide-not-honored-with-custom-transition

Is anyone else having this issue?

Thanks,
Mof.

Update Swift 4

Is it possible to have the update for Swift 4 and Xcode 9.1 ?

iPad Example

Can you please add an iPad example? i seem to be unable to make it work on the iPad, for some reason.

Problem when navigation bar is not translucent

I have a problem using this library on a navigation controller with an opaque navigation bar. It seems the final frame is not calculated properly and the top side of the view is hidden by the navigation bar.

An example to reproduce this is just adding the following code in the viewDidLoad method in the NavigationController class in the provided example:

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.delegate = self;
    self.navigationBar.translucent = NO;
}

Any workaround for this?

Navigation Bar is hidden/ disappears

From the demo project, I clicked into "CollectionView, Navigation Push Transition", then clicked one of the cells in the ViewController and lastly when i clicked "back" from DetailViewController (Result: navigation bar is hidden). This happens to my project as well when i implemented this. Please help.

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.