Re: inserting/removing items in NSOutlineView subclass

2011-11-03 Thread Corbin Dunn
It is sufficient to log a bug and include your app (or how to download your app). corbin On Nov 3, 2011, at 12:59 PM, Sebastien Boisvert wrote: > > > Those 3 lines were literally pulled directly from my code (call to > -beginUpdates, then the call to remove the items, then the call to > -en

Re: inserting/removing items in NSOutlineView subclass

2011-11-03 Thread Sebastien Boisvert
Those 3 lines were literally pulled directly from my code (call to -beginUpdates, then the call to remove the items, then the call to -endUpdates), so I'm definitively calling it. I'll try to reproduce it in a simpler test case, but the error gives no clue of what the real cause is so that mi

Re: inserting/removing items in NSOutlineView subclass

2011-11-01 Thread Corbin Dunn
Main > + 867 > 28 Daylite 0x00019862 main + 34 > 29 Daylite 0x00019834 start + 52 > 30 ??? 0x0005 0x0 + 5 > > > > >> >>

Re: inserting/removing items in NSOutlineView subclass

2011-11-01 Thread Sebastien Boisvert
5 0x0 + 5 > >From: Corbin Dunn >To: Sebastien Boisvert >Cc: cocoa-devDev >Sent: Monday, October 24, 2011 11:45:27 AM >Subject: Re: inserting/removing items in NSOutlineView subclass > >hi sebastien, >Are you sure you are calling beg

Re: inserting/removing items in NSOutlineView subclass

2011-10-24 Thread Corbin Dunn
hi sebastien, Are you sure you are calling beginUpdates? At what point are you doing the code below in your subclass? Also, can you post the complete stack trace? If you think it is a bug in appkit, please log it at bugreporter.apple.com -- but please include a test app, as I haven't been able t

inserting/removing items in NSOutlineView subclass

2011-10-22 Thread Sebastien Boisvert
I have an NSOutlineView subclass that does the following to remove a row: [selfbeginUpdates]; [selfremoveItemsAtIndexes:[NSIndexSetindexSetWithIndex:editingRow] inParent:nilwithAnimation:NSTableViewAnimationEffectNone]; [selfendUpdates]; However, when the above runs, I get the following exceptio