• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSView modifies CALayer's masksToBounds?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: NSView modifies CALayer's masksToBounds?
      • From: Mike Manzano <email@hidden>
References: 
 >NSView modifies CALayer's masksToBounds? (From: Mike Manzano <email@hidden>)

  • Prev by Date: Re: Reading in dictionary from txt file: options for speed
  • Next by Date: Re: Simulating a click in NSStepper
  • Previous by thread: NSView modifies CALayer's masksToBounds?
  • Next by thread: Re: NSView modifies CALayer's masksToBounds?
  • Index(es):
    • Date
    • Thread