Re: Very simple question
Re: Very simple question
- Subject: Re: Very simple question
- From: Andy Lee <email@hidden>
- Date: Tue, 13 Jul 2004 23:14:45 -0400
On Jul 13, 2004, at 10:46 PM, Theodore H. Smith wrote:
I can't find the right function to do it. I suppose there's always
sprintf, eh? I was hoping that maybe things would be easier under
Cocoa.
How about +[NSString stringWithFormat:]? Example:
int numLines = 1000;
myString = [NSString stringWithFormat:@"(%d lines drawn)", numLines];
--Andy
_______________________________________________
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.