Re: question about "read-only" rule for Memory Management
Re: question about "read-only" rule for Memory Management
- Subject: Re: question about "read-only" rule for Memory Management
- From: Kyle Sluder <email@hidden>
- Date: Mon, 26 Apr 2010 21:39:22 -0700
On Mon, Apr 26, 2010 at 6:57 PM, Philip Mobley <email@hidden> wrote:
> Question: is the BELOW method named appropriately?
>
> - (UIImage *) getImageWithTag:(NSString *)tag;
No. The "get" prefix is used for return-via-pointer. For example,
-[NSString getCharacters:range].
--Kyle Sluder
_______________________________________________
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