[Openmcl-devel] cocoa bridge memory management changes?

Willem Rein Oudshoorn woudshoo at xs4all.nl
Fri Sep 24 04:52:18 PDT 2010

Raffael Cavallaro <raffaelcavallaro at mac.com> writes:

> On Sep 24, 2010, at 6:18 AM, Willem Rein Oudshoorn wrote:
>> Why would you send a #/release on :id slots in a custom
>> view from the NSWindow?
> Because they are #/retained when the window is created.

Well, I mean is that it looks to me that 

(subclass?) NSWindow ---> (subclass) NSView ---> instance of :id slot

and normally you let the NSView do the retain and release of the slot
ivars.   I was surprised that you seem to skip a level.

Kind regards,
Wim Oudshoorn

More information about the Openmcl-devel mailing list