• 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: Program crashed after edit values at NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Program crashed after edit values at NSTableView


  • Subject: Re: Program crashed after edit values at NSTableView
  • From: Graham Cox <email@hidden>
  • Date: Sat, 8 May 2010 15:10:17 +1000

On 08/05/2010, at 2:21 PM, Peter C wrote:

> How do I prevent [] or NSTableView updating after window is close ?


Looks like the table view is asking your data source for something after that something has been deallocated. Try setting the table's dataSource to nil when the controller is dealloc'ed, then even if the table hangs around for a bit longer, it won't crash.

--Graham


_______________________________________________

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

  • Follow-Ups:
    • Re: Program crashed after edit values at NSTableView
      • From: Peter C <email@hidden>
References: 
 >Program crashed after edit values at NSTableView (From: Peter C <email@hidden>)

  • Prev by Date: Re: Determining when dragging begins and ends
  • Next by Date: prevent drag from QTMovieView
  • Previous by thread: Program crashed after edit values at NSTableView
  • Next by thread: Re: Program crashed after edit values at NSTableView
  • Index(es):
    • Date
    • Thread