• 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: Odd Crash when adding table columns manually
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Odd Crash when adding table columns manually


  • Subject: Re: Odd Crash when adding table columns manually
  • From: Lee Ann Rucker <email@hidden>
  • Date: Wed, 19 Jan 2011 16:51:13 -0800
  • Acceptlanguage: en-US
  • Thread-topic: Odd Crash when adding table columns manually

On Jan 19, 2011, at 3:21 PM, Corbin Dunn wrote:

>
> In general, it is good practice in your apps to set your delegate and datasource to nil. Who is to say something might cause a draw to happen, which would then message your (now dealloced) delegate? Ideally, NSTableView shouldn't message the delegate/datasource after the window is closed, but something extra "setNeedsDisplay" messages get thrown into it, causing it to happen, and crash. That is why your bug happened. 6728942 made an effort to reduce the display message.
>

If I'd set them in my code I would agree, but I expect that if it's set by the nib setup code then it should cleared by the nib cleanup code._______________________________________________

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: Odd Crash when adding table columns manually
      • From: Corbin Dunn <email@hidden>
References: 
 >Odd Crash when adding table columns manually (From: Eric Gorr <email@hidden>)
 >Re: Odd Crash when adding table columns manually (From: Peter Lübke <email@hidden>)
 >Re: Odd Crash when adding table columns manually (From: Eric Gorr <email@hidden>)
 >Re: Odd Crash when adding table columns manually (From: Keary Suska <email@hidden>)
 >Re: Odd Crash when adding table columns manually (From: Eric Gorr <email@hidden>)
 >Re: Odd Crash when adding table columns manually (From: Eric Gorr <email@hidden>)
 >Re: Odd Crash when adding table columns manually (From: Lee Ann Rucker <email@hidden>)
 >Re: Odd Crash when adding table columns manually (From: Corbin Dunn <email@hidden>)

  • Prev by Date: Re: Odd Crash when adding table columns manually
  • Next by Date: Re: copyItemAtPath takes double time than the Finder
  • Previous by thread: Re: Odd Crash when adding table columns manually
  • Next by thread: Re: Odd Crash when adding table columns manually
  • Index(es):
    • Date
    • Thread