Re: OS X Collection Views videos?

2013-03-01 Thread Scott Anguish
Collection Views on Mac OS X predate 2012. Try 2010. Also, there is a conceptual document on them now. On Feb 15, 2013, at 4:58 PM, Rick Mann wrote: > Yeah, I saw those, but figured they wouldn't have much applicable. Maybe I'll > skim through them. > > On Feb 15, 2013, at 13:51 , Jean Suiss

Core Text attributed strings and NSTextField incompatibility

2013-03-01 Thread Graham Cox
Parts of my app use Core Text. I build an CFAttributedStringRef which contains attributes as defined by CTStringAttributes, which are needed to render the text with Core Text, which all works fine. A different part of my app provides an interface to edit this text. On the Mac, this uses NSTextF

Re: Documents not opening from Finder

2013-03-01 Thread Quincey Morris
On Mar 1, 2013, at 14:59 , Steve Mills wrote: > Sorry, I still consider myself a newbie in Cocoaland. I can add those open > and print overrides to my NSApplicationDelegate, but I only want to be able > to set breakpoints on them but still let the default behavior happen. Since > NSApplication

Re: Documents not opening from Finder

2013-03-01 Thread Steve Mills
On Mar 1, 2013, at 16:21:35, Quincey Morris wrote: > I think the diversion into Apple Events is something of a red herring, at > least at this stage of your debugging. Requests to open and print may indeed > arrive at your app as Apple Events, but the best place to intervene is in > NSApplica

Syncing CATiledLayer drawInContext: with setAffineTransform:

2013-03-01 Thread Dave Fernandes
I'm using a CATiledLayer to plot a stream of data points in real-time on iOS 6. When the user pinches to zoom in either X or Y, I need to zoom the plot. To avoid lots of flashing during redraws, I use an affine transform *during* the zoom gesture, but then redraw the plot after the gesture is co

Re: Documents not opening from Finder

2013-03-01 Thread Quincey Morris
On Mar 1, 2013, at 13:59 , Steve Mills wrote: > I have tons of experience with AppleEvents under Carbon, but none under > Cocoa. Where does that event come in? I think the diversion into Apple Events is something of a red herring, at least at this stage of your debugging. Requests to open and

Re: Documents not opening from Finder

2013-03-01 Thread Steve Mills
On Feb 28, 2013, at 02:35:18, Uli Kusterer wrote: > Opening internally sends Apple Events. Have you checked whether the"open > document" Apple event is sent and whether it looks any different? My guess is > they won't use that for the open panel, but maybe they do and something's > broken ther

Re: Custom control with 4 vertical sliders

2013-03-01 Thread Gordon Apple
Ah! A Boilermaker. Did my MS and PhD there in EE may years ago, before I went to Bell Labs. I just suggested a collection view because they are so easy to use when you need an array of identical views bound to an array of objects via the represented object. You just create the prototype and let

Re: Focus ring and layer-backed views

2013-03-01 Thread Kyle Sluder
On Mar 1, 2013, at 1:26 AM, Oleg Krupnov wrote: > > It seems like a known problem. Is there some workaround? This is why Apple added the -drawFocusRingMask API. Try using that instead of drawing the focus ring manually. --Kyle Sluder ___ Cocoa-dev

Re: 2 icons showing in dock

2013-03-01 Thread Rob McBroom
On Feb 28, 2013, at 6:22 PM, Rick C. wrote: > You're having the same issue? FWIW I moved it to > applicationWillFinishLaunching and changed it to NSApplication activation > policy and I see no difference in the behavior… So you are able to reproduce it? Any tips? I’ve tried everything I can t

Focus ring and layer-backed views

2013-03-01 Thread Oleg Krupnov
I have two custom views in a container view. The first view is a custom layer-hosting view, the second one is an ordinary custom view without layers. Both views can have keyboard focus and draw focus rings around themselves. As usual, the focus ring is drawn partially on the superview. In the fir