• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Send msg to object by nameed NSString;
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Send msg to object by nameed NSString;
      • From: Daniel DeCovnick <email@hidden>
    • Re: Send msg to object by nameed NSString;
      • From: Trygve Inda <email@hidden>
References: 
 >Send msg to object by nameed NSString; (From: Trygve Inda <email@hidden>)
 >Re: Send msg to object by nameed NSString; (From: Daniel DeCovnick <email@hidden>)

  • Prev by Date: Re: Bindings setup with NSCollectionViews
  • Next by Date: Re: Send msg to object by nameed NSString;
  • Previous by thread: Re: Send msg to object by nameed NSString;
  • Next by thread: Re: Send msg to object by nameed NSString;
  • Index(es):
    • Date
    • Thread