Re: Best Way to Hold Array of CFRefType’s

2016-01-18 Thread Jens Alfke
> On Jan 18, 2016, at 5:44 AM, Dave wrote: > > I have need to keep an Array of CFRefType’s stored in an Object. Um, why can’t you just put them in a CFArray or NSArray? —Jens ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post

NSTableView/NSOutlineView row/view overlay

2016-01-18 Thread Alex Kac
Given a set of rows in an NSOutlineView, I want to add some “handles” that show up when you hover over a row. These handles would half cover the bottom of the view that is being hovered, and half cover the top of the row below it. Does anyone have any tips or anything to point me to how that mig

Re: Best Way to Hold Array of CFRefType’s

2016-01-18 Thread Clark Cox
As long as you release them properly, you can just use NSAray/NSMutableArray: [array addObject: CFBridgingRelease(cfObject)]; After the CFBridgingRelease, the CF-retain count is decremented, and NSArray becomes responsible for its lifetime. (this also means that there is no need to rele

Re: Best Way to Hold Array of CFRefType’s

2016-01-18 Thread Alex Zavatone
Can you create a simple case simulation where you try out both with a placeholder CFFRefType and see which works and which fails? On Jan 18, 2016, at 8:44 AM, Dave wrote: > Hi, > > I have need to keep an Array of CFRefType’s stored in an Object. What is the > best way to do this? I can’t use

Best Way to Hold Array of CFRefType’s

2016-01-18 Thread Dave
Hi, I have need to keep an Array of CFRefType’s stored in an Object. What is the best way to do this? I can’t use malloc to create a C Array buffer to store them because I don’t know how many there will be to until after I have received them and there are likely to be a lot of them so don’t wan

setWantsBestResolutionOpenGLSurface and flickering with multiple overlaying windows on retina

2016-01-18 Thread MeldaProduction
Hi, I'm using setWantsBestResolutionOpenGLSurface to enjoy the high DPI on retina. Everything works now except that if I have multiple windows overlaying each other (these are AU plugins), the drawing in the partially plugins randomly draws over the foreground windows causing a severe flickering.