Re: Performance, Efficiency - Coding practice
Re: Performance, Efficiency - Coding practice
- Subject: Re: Performance, Efficiency - Coding practice
- From: Alexander Spohr <email@hidden>
- Date: Fri, 29 May 2009 11:31:42 +0200
Am 29.05.2009 um 02:55 schrieb John Ku:
And yeah, NSMutableString will be initialized else where and
released later.
Why use a mutable string at all? Just retain the new string and dump
the old one.
Use
@property (retain) NSString *title;
@synthesize title;
and be done with it.
atze
_______________________________________________
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