FROM : mmalc crawford
DATE : Sun Nov 11 18:44:25 2007
On Nov 11, 2007, at 8:37 AM, August Trometer wrote:
> I have an object that does this, BJController. It is instantiated
> within the Nib and the service is published during awakeFromNib
> [...]
> Now, as long as I keep Garbage Collection turned off, this works
> fine. When I turn it on, however, the service object seems to
> evaporate before the service is published, and my NSNetService
> delegate methods never get called at all.
> I've been through the GC docs, and I'm assuming it's got something
> to do with a weak reference somewhere. But I can't seem to figure
> out where that would be.
>
<http://developer.apple.com/documentation/Cocoa/Conceptual/GarbageCollection/Articles/gcEssentials.html
>
mmalc
DATE : Sun Nov 11 18:44:25 2007
On Nov 11, 2007, at 8:37 AM, August Trometer wrote:
> I have an object that does this, BJController. It is instantiated
> within the Nib and the service is published during awakeFromNib
> [...]
> Now, as long as I keep Garbage Collection turned off, this works
> fine. When I turn it on, however, the service object seems to
> evaporate before the service is published, and my NSNetService
> delegate methods never get called at all.
> I've been through the GC docs, and I'm assuming it's got something
> to do with a weak reference somewhere. But I can't seem to figure
> out where that would be.
>
<http://developer.apple.com/documentation/Cocoa/Conceptual/GarbageCollection/Articles/gcEssentials.html
>
mmalc
| Related mails | Author | Date |
|---|---|---|
| August Trometer | Nov 11, 17:37 | |
| mmalc crawford | Nov 11, 18:44 | |
| Jon Hess | Nov 11, 18:52 | |
| August Trometer | Nov 11, 19:17 |






Cocoa mail archive

