• 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: Mike Abdullah <email@hidden>
  • Date: Mon, 25 Jun 2007 17:51:01 +0100

There is the NSNumber class, which can be an int, BOOL, float or more or less any other kind of number.

To convert to a string, I would suggest maybe using +[NSString stringWithFormat:@"%i", myInt]

On 24 Jun 2007, at 06:49, Devraj Mukherjee wrote:

Hi everyone,

How do I convert an int to an NSString? Also is there an NSInt or a
NSInteger class?

Thanks for your time.

--
"I never look back darling, it distracts from the now", Edna Mode (The
Incredibles)
_______________________________________________

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:
40mikeabdullah.net


This email sent to email@hidden

_______________________________________________

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: AppleScript not sending my Cocoa app proper floats on Intel
  • Next by Date: Re: int to NSString?
  • Previous by thread: Re: int to NSString?
  • Next by thread: Re: int to NSString?
  • Index(es):
    • Date
    • Thread