• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSArrays and tableView delegates
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >NSArrays and tableView delegates (From: Steven Hamilton <email@hidden>)
 >Re: NSArrays and tableView delegates (From: Ashley Clark <email@hidden>)

  • Prev by Date: Override load/save for NSDictionary ?
  • Next by Date: Re: Override load/save for NSDictionary ?
  • Previous by thread: Re: NSArrays and tableView delegates
  • Next by thread: indexOfObjectIdenticalTo: problem with NSArrayController
  • Index(es):
    • Date
    • Thread