For Programmers: Free Programming Magazines  


Home > Archive > Objective C > March 2005 > Re: Memory mgmt. in accessors









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Memory mgmt. in accessors
David Stes

2005-03-16, 4:04 pm

Dr. Scott Steinman <steinman@midsouth.rr.com> wrote:
>
>
> My tool does not count references.


So what is the code that it generates for the "setter" methods, if you have 2
classes, MyObject, and OtherObject.

OtherObject has an instance variable that you set to a MyObject instance,
and MyObject has an instance variable that you set to an OtherObject instance.

Please answer the question factually and logically, if you are able to more
than senseless Apple rambling.

Is the code that your tool generates correct, if you release the OtherObject
instance (triggering a release of the MyObject instance, triggering OtherObject
and so forth).

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com