Re: NSView subclass does not seem to start

2014-01-01 Thread Alex Hall
Hello all, I replied last night, but my message got held up because it was too large. If it makes it through, please disregard it. The problem was that my NSWindow was not a property of my class, but rather a method-level variable. It works now. Thanks for all the help! On Dec 31, 2013, at

Re: NSShadow with [bezierPath addClip]

2014-01-01 Thread David Duncan
In CoreGraphics the way you would do this is to setup your shadow parameters, then start a transparency layer, do your drawing there, then composite that back to the original context. Something like this: CGContextSetShadow(context, shadowOffset, shadowBlur);