• 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: int to NSString?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: int to NSString?


  • Subject: Re: int to NSString?
  • From: Nick Zitzmann <email@hidden>
  • Date: Mon, 25 Jun 2007 12:50:53 -0600


On Jun 23, 2007, at 11:49 PM, Devraj Mukherjee wrote:

How do I convert an int to an NSString?

NSString *stringFromInt = [NSString stringWithFormat:@"%d", someInt];

Also is there an NSInt or a
NSInteger class?

No, but there is NSNumber. However, NSNumber is generally used for wrapping primitives, not replacing them.


Nick Zitzmann
<http://www.chronosnet.com/>




_______________________________________________

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


References: 
 >int to NSString? (From: "Devraj Mukherjee" <email@hidden>)

  • Prev by Date: Re: Plugins and shared code question.,
  • Next by Date: Re: Best drawing technology for audio waveforms, envelopes, etc.?
  • Previous by thread: Re: int to NSString?
  • Next by thread: Re: int to NSString?
  • Index(es):
    • Date
    • Thread