Re: NSArrays and tableView delegates
Re: NSArrays and tableView delegates
- Subject: Re: NSArrays and tableView delegates
- From: Steven Hamilton <email@hidden>
- Date: Fri, 5 Dec 2008 21:49:16 +1000
On 05/12/2008, at 9:25 AM, Ashley Clark wrote:
(Leopard 10.5.5 with GC on)
If you're running this program under GC then none of what you said
makes sense anyway since retain/release/autorelease are all no-ops
under GC and -dealloc is never called there.
Ah the benefit of a simple sentence, 2 hours of staring at code and
lots of reading docs. It turns out I didn't have GC enabled and also
didn't fully understand how GC works. My code has been written with GC
in mind but without using it, so I've been riding along on the luck of
autorelease till now. It turns out that my WindowController problem
was down to the "window" object link in the nib becoming unlinked to
the Window object, plus a bunch of other wrong settings in the nib.
All fixed now and with GC on my code is now a lot cleaner after some
spring cleaning.
Thanks a lot. Good progress tonight.
_______________________________________________
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