• 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
NaN values from presentationLayer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NaN values from presentationLayer


  • Subject: NaN values from presentationLayer
  • From: DKJ <email@hidden>
  • Date: Mon, 24 Nov 2008 06:53:58 -0800

I have a UIView myView that I animate by changing its center property. During the animation, this line is called by an NSTimer every 0.1 seconds:

	CGRect myViewFrame = [[myView.layer presentationLayer] frame];

But sometimes this gives me all NaN values in the CGRect, and things go off the rails.

What might be causing this? Is it some kind of "between frames" condition in the animation?

dkj
_______________________________________________

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: NaN values from presentationLayer
      • From: David Duncan <email@hidden>
  • Prev by Date: Re: NSTableView Problems
  • Next by Date: Re: Need some advice on multithreading
  • Previous by thread: Re: using C++ STL in Empty Project
  • Next by thread: Re: NaN values from presentationLayer
  • Index(es):
    • Date
    • Thread