On Jun 18, 2009, at 10:39 AM, Chunk 1978 wrote:

agreed.  the reason i asked is because i saw this snippet of code:
repeatCount = 1e100f; and i just though that seems awfully ambiguous
and hoped for something a little more universal.

Nothing ambiguous at all --- it's about 2 * 10 ^ 82 times the current estimated age
of the Universe, and that ought to be Universal enough . . .


On Thu, Jun 18, 2009 at 1:35 PM, WT<jrca...@gmail.com> wrote:
On Jun 18, 2009, at 7:02 PM, Chunk 1978 wrote:

i would like to set an AnimationRepeatCount to loop continuously.
what is an appropriate number to set?

You could use NSIntegerMax. Although finite, it's so large it might as well be considered infinitely large, in the context in question. I doubt any user will be running your application continuously for a long enough period of
time to exhaust an entire animation cycle of that length.

_______________________________________________

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