NSInterger Infinity?

2009-06-18 Thread Chunk 1978
i would like to set an AnimationRepeatCount to loop continuously. what is an appropriate number to set? ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators

Re: NSInterger Infinity?

2009-06-18 Thread Nick Zitzmann
On Jun 18, 2009, at 11:02 AM, Chunk 1978 wrote: i would like to set an AnimationRepeatCount to loop continuously. what is an appropriate number to set? If you're using UIImageView, then setting the value to 0 will make it loop indefinitely... Nick Zitzmann http://www.chronosnet.com/

Re: NSInterger Infinity?

2009-06-18 Thread Chunk 1978
i'll certainly use your advice in the future, thanks. however, i'm currently just setting a UIView within the animation block and setting 0 plays the animation only one tim On Thu, Jun 18, 2009 at 1:07 PM, Nick Zitzmannn...@chronosnet.com wrote: On Jun 18, 2009, at 11:02 AM, Chunk 1978 wrote:

Re: NSInterger Infinity?

2009-06-18 Thread Chunk 1978
perfect. thanks :) On Thu, Jun 18, 2009 at 1:15 PM, Nick Zitzmannn...@chronosnet.com wrote: On Jun 18, 2009, at 11:10 AM, Chunk 1978 wrote: i'll certainly use your advice in the future, thanks.  however, i'm currently just setting a UIView within the animation block and setting 0 plays the

Re: NSInterger Infinity?

2009-06-18 Thread WT
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

Re: NSInterger Infinity?

2009-06-18 Thread Chunk 1978
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, WTjrca...@gmail.com wrote: On Jun 18, 2009, at 7:02 PM, Chunk 1978 wrote: i

Re: NSInterger Infinity?

2009-06-18 Thread Henry McGilton (Boulevardier)
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