Re: [Pyobjc-dev] Refcounting problem - idea?
Brought to you by:
ronaldoussoren
From: Ronald O. <ous...@ci...> - 2003-08-11 05:52:22
|
On Sunday, 10 August, 2003, at 23:23, Jack Jansen wrote: > > On zaterdag, aug 9, 2003, at 12:14 Europe/Amsterdam, Ronald Oussoren > wrote: > >> As Martina already noted, the combobox probably doesn't retain it's >> datasource. There's not much we can do about that. Cocoa seems to do >> this quite often, probably to avoid reference counting cycles. Let's >> hope that Apple adds a real garbage collector in the future. > > I was just wondering: are there *any* places where the user is > expected to pass a > wrapped ObjC object to a method call, and have that object be garbage > collected > when the call returns? NSArray.arrayWithArray_() is a trivial one and there are many others. Ronald |