Re: NSInterger Infinity?
Re: NSInterger Infinity?
- Subject: Re: NSInterger Infinity?
- From: Chunk 1978 <email@hidden>
- Date: Thu, 18 Jun 2009 13:39:55 -0400
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.
On Thu, Jun 18, 2009 at 1:35 PM, WT<email@hidden> 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.
>
> Wagner
>
_______________________________________________
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