Re: NSView modifies CALayer's masksToBounds?
Re: NSView modifies CALayer's masksToBounds?
- Subject: Re: NSView modifies CALayer's masksToBounds?
- From: Kyle Sluder <email@hidden>
- Date: Thu, 16 Apr 2009 20:33:50 -0400
On Thu, Apr 16, 2009 at 7:14 PM, Mike Manzano
<email@hidden> wrote:
> Is there a way to stop an NSView from modifying its CALayer's masksToBounds
> property?
The layer that backs a layer-backed view is Not Yours(TM). If you
want control over the layer, you need to use a layer-hosted view.
This means you might have to do a lot more work to keep AppKit's view
of the world in sync with your layer tree.
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden