• 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
Re: NSInterger Infinity?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: NSInterger Infinity?
      • From: "Henry McGilton (Boulevardier)" <email@hidden>
References: 
 >NSInterger Infinity? (From: Chunk 1978 <email@hidden>)
 >Re: NSInterger Infinity? (From: WT <email@hidden>)

  • Prev by Date: Re: NSInterger Infinity?
  • Next by Date: Re: MDSchemaCopyAllAttributes() returning nil
  • Previous by thread: Re: NSInterger Infinity?
  • Next by thread: Re: NSInterger Infinity?
  • Index(es):
    • Date
    • Thread