Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4624986
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T03:12:29+00:00 2026-05-22T03:12:29+00:00

I have run into a bit of a snag in my code. I am

  • 0

I have run into a bit of a snag in my code. I am using OpenFlow—an Apple coverflow alternative currently free for developers to use. In the demo everything seems to work great. The “flow” is animated by using UIView animations.

I have adapted the demo to work on the iPad. Everything works well except that for some reason the views now animate implicitly. I can’t figure out why this is. I didn’t even think that implicit animation was available in iOS.

I could really use some help figuring out why this is happening in the first place, and how I can disable them.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T03:12:30+00:00Added an answer on May 22, 2026 at 3:12 am

    Alright, many headaches and much wasted time later, I figured out what the heck was going on in my code. I thought I was experiencing implicit animations, but I couldn’t figure out why this started happening all of the sudden.

    I decided I better try to understand implicit animations, so I experimented on my own to figure out how to achieve them in a controlled situation. The reason I have never seen implicit animations happen is because I am always using UIView or one of its subclasses.

    I learned that if you start with a CALayer and work strictly with the layer, all changes to many of the properties will implicitly animate.

    There may be some confusion (I know there was for me) when you see that UIView’s (and their posterity) all are automatically layer backed and have a CALayer property.

    Never-the-less, it is evident that UIView is somehow overriding the implicit animation mechanism of its CALayer property. So if you want implicit animations, you must use CALayer’s directly, not just suppose that because UIView has a CALayer property that it will behave the same.

    As for the bug I was experiencing…It was perhaps the strangest one I have yet come across. Everything, no matter what I tried, was animating any changes to values without any animation code. The culprit ended up being a nested UIView animation block.

    Notice the following and see if you catch the issue right off:

    [UIView beginAnimations:nil context:NULL];
    [UIView setAnimationDuration:1.2];
    //animate something
    [UIView beginAnimations:nil context:NULL];
    [UIView setAnimationDelay:.8];
    [UIView setAnimationDuration:.4];
    //animate something else
    [UIView commitAnimations];
    

    I failed to terminate the nested block with another [UIView commitAnimations]. It was literally leaking animation in my program. Everything was animating, even code in completely different classes. This bug is squashed…on to the next!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have run into a bit of a tricky problem in some C++ code,
Hey.. I have run into a bit of a problem with my python code..
Hello I'm currently self teaching C# and have run into a bit of a
I seem to have run into a bit of trouble this morning with removeClass
I currently have a tab bar application in the works, and have run into
I have run into a rather weird little problem. In the following code I
I am working with the magento api and I have run into a bit
While setting up the django-registration module I have run into a bit of trouble.
I have run into a bit of a problem, well not sure if it
I'm learning Python, and have run into a bit of a problem. On my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.