On 8 Mar 2010, at 11:46 AM, Fritz Anderson wrote:

> I've changed the bus-stop layers from being single CATextLayers (bad layout) 
> to CALayers with text sublayers). That approximately quadrupled the 
> stop-related layers. 
> 
> Since then, the card flip has become almost instantaneous. You can see the 
> edges move if you look carefully, but the visual effect of a flip is 
> essentially gone. 

H'm. After running a few minutes, I find that the transition is back to normal. 

I'd still like to know what was causing the problem, because I take it as a 
sign I don't have adequate control over my application.

A possible consideration: Transitions between routes is done on an NSTimer 
handler. My route iterator does one or more synchronous downloads [NSData 
dataWithContentsOfURL:], parses some XML, distributes the results among some 
Core Data objects, and then updates the map layers. I don't have any control 
over the responsiveness of the server.*

The point is, I'm out of the standard runloop mode for a second or so before I 
start the animations and return to the runloop. Is that a possible explanation?

        — F

---
*  I'm aware that, to paraphrase the Frankenstein monster, "synchronous bad, 
asynchronous good," but factoring my iteration and error handling into several 
methods is a treat I've reserved for later.

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to