• 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: NSOutlineView assertion failures
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSOutlineView assertion failures


  • Subject: Re: NSOutlineView assertion failures
  • From: Jeff Wilcox <email@hidden>
  • Date: Fri, 3 Oct 2008 22:48:47 -0700

Not explicitly, but maybe. This seems to be taking place when the content for the NSTreeController is changing (explicitly) in one thread, causing a reload in the outline view, and in another thread the NSOutlineView's drawrect is getting called. I can't say for sure that this accounts for all of the cases but that seems like a common theme.

Thoughts?

On Oct 3, 2008, at 6:10 PM, Uli Kusterer wrote:

On 04.10.2008, at 03:00, Jeff Wilcox wrote:
I seemed to be able to make this go away by subclassing the outline view and locking it down before starting a reload or evaluating the number of rows (found mostly by lots or trial and error) with the following:


Wait, you're not calling numberOfRows and reloadData on an outline view from another thread, are you?

Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de






_______________________________________________

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: NSOutlineView assertion failures
      • From: Chris Hanson <email@hidden>
    • Re: NSOutlineView assertion failures
      • From: Jeff Wilcox <email@hidden>
References: 
 >NSOutlineView assertion failures (From: Jeff Wilcox <email@hidden>)
 >Re: NSOutlineView assertion failures (From: Uli Kusterer <email@hidden>)

  • Prev by Date: Re: [Math] sin(), cos() not working? What special magic must I use to summon their powers?
  • Next by Date: Re: [Math] sin(), cos() not working? What special magic must I use to summon their powers?
  • Previous by thread: Re: NSOutlineView assertion failures
  • Next by thread: Re: NSOutlineView assertion failures
  • Index(es):
    • Date
    • Thread