• 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: Thu, 04 Aug 2011 11:27:08 -0700

Thanks!

On Aug 4, 2011, at 11:02 , Matt Neuburg wrote:

> On Sun, 31 Jul 2011 16:20:48 -0700, Rick Mann <email@hidden> said:
>> 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).
>>
>> Am I doing something wrong?
>
> My book is clear on this point:
>
> http://www.apeth.com/iOSBook/ch17.html#_block_based_view_animation
>
> "User touch interactions are disabled during the animation, by default [i.e., when using what you call the block style]. This is not the case with an animation block [i.e. when using what you call the traditional way]. The optionUIViewAnimationOptionAllowUserInteraction lets you reverse this setting."
>
> m.
>
> --
> matt neuburg, phd = email@hidden, <http://www.apeth.net/matt/>
> A fool + a tool + an autorelease pool = cool!
> Programming iOS 4!
> http://www.apeth.net/matt/default.html#iosbook

_______________________________________________

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

References: 
 >Re: [iOS] Block animation kills performance (From: Matt Neuburg <email@hidden>)

  • Prev by Date: Re: NSTableView with autoResizing Column: How to trigger auto-resizing after setFrame:?
  • Next by Date: Re: UITableViewController, with table view not the root of its nib?
  • Previous by thread: Re: [iOS] Block animation kills performance
  • Next by thread: NSAttributedString -initWithPath RTFD crash on Lion
  • Index(es):
    • Date
    • Thread