Code Monkey home page Code Monkey logo

Comments (7)

philipengberg avatar philipengberg commented on July 22, 2024 1

I'm also wondering, with regard to the requests for a non-swizzling version, when I read about the need to call EasyAnimation.enable() I immediately cheered and thought "That must mean that there is also a EasyAnimation.disable(), so that I can exactly control when to use EasyAnimation and when not to", however, looking into the code that does not seem to be the case 😞

from easyanimation.

philipengberg avatar philipengberg commented on July 22, 2024

The initial issue is invalid. Something must have gone during the CocoaPod installation. EasyAnimation is now not enabled by default.

However, I get this

screen shot 2017-06-20 at 07 01 47

from easyanimation.

icanzilb avatar icanzilb commented on July 22, 2024

This is true, when installed via CP that method won't be public, I'll push a fix asap

from easyanimation.

icanzilb avatar icanzilb commented on July 22, 2024

@philipengberg Can you try with https://github.com/icanzilb/EasyAnimation/releases/tag/2.0.1 ? It's on CocoaPods

from easyanimation.

vburojevic avatar vburojevic commented on July 22, 2024

Seems that calling EasyAnimation.enable() after enabling it should re-swizzle the methods and disable it, but that's not the case. Any ideas @icanzilb? I'd like to make a PR to fix this if possible, and add disable function.

from easyanimation.

vburojevic avatar vburojevic commented on July 22, 2024

Ignore, my bad. UIViewController wasn't deallocated properly so code in viewWillDissapear didn't get called. :)

from easyanimation.

vburojevic avatar vburojevic commented on July 22, 2024

Nope, still had the issue because swizzle was a static block property and it could be called only once.

I opened a PR for this: #59

from easyanimation.

Related Issues (20)

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.