Re: Do NSStackView's actually work in a NSTableView?

2015-04-06 Thread Sebastien Boisvert
items added to NSTableCellView instances. On 3 Apr 2015, at 04:52, Sebastien Boisvert sebastienboisv...@yahoo.com wrote: I only ask because I’m using a stackview that while it behaves as I configured it in a plain view in a window, it behaves completely different when put in a tableview

Do NSStackView's actually work in a NSTableView?

2015-04-02 Thread Sebastien Boisvert
I only ask because I’m using a stackview that while it behaves as I configured it in a plain view in a window, it behaves completely different when put in a tableview. For example, views which I’ve set to detach will never, ever detach, regardless of the settings I’ve set. Anyone have

Getting the ImageBackground example to work on Mavericks

2014-03-18 Thread Sebastien Boisvert
I pulled out the older ImageBackground example (which shows a custom background image in a NSTableView/NSOutlineView) and am trying to make it work under Mavericks. For the most part, it's working fine by explicitly disabling support for responsive scrolling. The only glitch that remains is

Disabling NSOutlineView animations not respected in Mavericks

2013-10-30 Thread Sebastien Boisvert
We've noticed that disabling expand/collapse animations isn't respected under Mavericks (still works fine in Lion/ML) - is there a specific way to avoid it in Mavericks? Tthe trick we use (as per Apple): - (void)expandItem:(id)item expandChildren:(BOOL)expandChildren {    

Re: Disabling NSOutlineView animations not respected in Mavericks

2013-10-30 Thread Sebastien Boisvert
, 2013, at 10:16 AM, Sebastien Boisvert wrote: We've noticed that disabling expand/collapse animations isn't respected under Mavericks (still works fine in Lion/ML) - is there a specific way to avoid it in Mavericks? Tthe trick we use (as per Apple): - (void)expandItem:(id)item expandChildren

Maximum size for NSFileWrapper serialization?

2013-01-18 Thread Sebastien Boisvert
I'm trying to initialize a NSFileWrapper with an existing file which is about 3.65GB (gigs), then get the NSData by serializing it, but get the following exception: MyApp[81289:303] can't write int larger than INT_MAX MyApp[81289:303] ( 0   CoreFoundation    0x7fff8d4280a6

Logging out the IMP description

2012-11-01 Thread Sebastien Boisvert
I have an IMP for a method - in Xcode debugging window, I can select the var, and make it display a description; I get something like this in the console: (IMP) ImpVarName = 0x0001012a1130 (FrameWorkName`-[ClassName methodName] at ClassName.m:125) This is perfect, but I can't figure out

Custom NSClipView and overlay scrollers

2012-03-29 Thread Sebastien Boisvert
I use a custom clip view to get a custom background look to my outline view, however swapping out the scrollview's old content view for my new clip view seems to cause the overlay scrollers to stop functioning properly - they'll still show, and mousing over them reveals the gutter, however they

NSTableViewDraggingDestinationFeedbackStyleNone custom drop highlight

2012-01-18 Thread Sebastien Boisvert
For NSTableViewDraggingDestinationFeedbackStyleNone, the Apple docs state: This option exists to allow subclasses to implement their dragging destination highlighting There's no hint of how this can be accomplished however, and from discussions I've seen going back to 2008 it seems that

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

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

NSOutlineView and -reloadDataForRowIndexes:columnIndexes:

2011-09-08 Thread Sebastien Boisvert
Does -reloadDataForRowIndexes:columnIndexes: work on NSOutlineView? I'm trying to use this to refresh some rows, but I get no indication that anything in my delegate is being queried to refresh the data. ___ Cocoa-dev mailing list