• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [iOS] Block animation kills performance
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [iOS] Block animation kills performance


  • Subject: Re: [iOS] Block animation kills performance
  • From: Rick Mann <email@hidden>
  • Date: Sun, 31 Jul 2011 16:32:29 -0700

On Jul 31, 2011, at 16:23 , Hunter Hillegas wrote:

> Are you sure you don't need UIViewAnimationOptionAllowUserInteraction and animateWithDuration:delay:options:animations:completion:?

No, I'm not sure :-) I've never worried about that option before, and don't know why it would be different from one approach to the other.

Why do I need it for the block approach and not for the other?

The docs for UIViewAnimationOptionAllowUserInteraction suggest it's only necessary for views that are animating that require user interaction; that is not the case for me. The animating view does not have any user interaction. It's all the other views in my app that fail to respond.

--
Rick

>
> On Jul 31, 2011, at 4:20 PM, Rick Mann wrote:
>
>> Xcode 3.2.6, iOS 4.3.
>>
>> My app shows a heartbeat as a flashing red square. Once each second, I execute the following code. If I use the block style, overall performance of the app suffers greatly (the UI becomes unresponsive to touches). If I animate the more traditional way, UI responsiveness seems normal.
>>
>> This occurs in both the simulator and the device (iPad).

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: [iOS] Block animation kills performance
      • From: Roland King <email@hidden>
References: 
 >[iOS] Block animation kills performance (From: Rick Mann <email@hidden>)
 >Re: [iOS] Block animation kills performance (From: Hunter Hillegas <email@hidden>)

  • Prev by Date: Custom autocompletion with NSTextField
  • Next by Date: [Q] including omp.h?
  • Previous by thread: Re: [iOS] Block animation kills performance
  • Next by thread: Re: [iOS] Block animation kills performance
  • Index(es):
    • Date
    • Thread