Coder Social home page Coder Social logo

Comments (4)

jhersh avatar jhersh commented on June 16, 2024

Ahoy @dvkch! Sorry I missed this until now.

I can't find that code you mention at line 24 in any file of your sample project. Do you have a direct link?

That said, I don't think you want to set a view controller's view frame to be equal to a keyframe animation object's frame, as the keyframe can and will change as the animation is played. Plus, the frame may not be set until the animation begins, which might explain this error you're seeing. Perhaps you meant to add the animation to a subview instead?

from jazzhands.

dvkch avatar dvkch commented on June 16, 2024

No problem. The view controller is IFTTTJazzHandsViewController, a direct copy from the example project in this library. The trace is:
-[IFTTTAnimatedScrollViewController scrollViewDidScroll:] line 45
-[IFTTTAnimator animate:] line 34
-[IFTTTFrameAnimation animate:] line 24

Here is a screenshot of the debug session in XCode:
screen shot 2014-12-10 at 18 58 26

The issue is: the same exact code works perfectly in your demo project, but it doesn't in a new project.
I wanted to know why that is because i want to start using your app by playing with this demo tutorial and integrate it in my own project.

from jazzhands.

jhersh avatar jhersh commented on June 16, 2024

@dvkch You are creating animations and references for two images (Unicorn and IFTTT) that are not included in your sample app.

from jazzhands.

dvkch avatar dvkch commented on June 16, 2024

Hehe indeed. Sorry for the trouble!

from jazzhands.

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.