Int to NSString
Int to NSString
- Subject: Int to NSString
- From: Ben Mackin <email@hidden>
- Date: Thu, 02 May 2002 18:46:04 -0700
How do I convert an integer to an NSString? I have been looking over apples
site, and just cant find it.
What I am doing is creating an NSArrary, and then filling it as follows:
mergeArray = [[NSFileManager defaultManager]
directoryContentsAtPath:@"/tmp/receive"];
Then I am trying to do this:
logString = [ fileNameString stringByAppendingString:[mergeArray count]];
Which doesn't work, I need to convert the int returned by [mergeArray count]
into an NSString so I can use it in the output (I am then writing logString
to a file on the disk)
Thanks,
Ben
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.