Re: Send msg to object by nameed NSString;
Re: Send msg to object by nameed NSString;
- Subject: Re: Send msg to object by nameed NSString;
- From: Graham Cox <email@hidden>
- Date: Thu, 19 Jun 2014 09:54:05 +1000
On 19 Jun 2014, at 4:53 am, Daniel DeCovnick <email@hidden> wrote:
> Yes. You can either use key-value coding: [[self valueForKey:myString] release];
> [value release];
These invocations of -release appear to be erroneous. Why do you have them there? If you think they should be there as a matter of routine, your understanding of memory management is probably faulty.
--Graham
_______________________________________________
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