Re: Layer hosting custom NSView and setAlphaValue
Re: Layer hosting custom NSView and setAlphaValue
- Subject: Re: Layer hosting custom NSView and setAlphaValue
- From: Markus Spoettl <email@hidden>
- Date: Mon, 14 May 2012 22:14:14 +0200
On 5/14/12 8:23 PM, Kyle Sluder wrote:
On May 14, 2012, at 11:22 AM, Corbin Dunn wrote:
No, it is not a bug -- unfortunately, we can't make certain things go cross
boundaries from non-layer backed to layer backed.
This has an easy solution: layer back the container.
I assumed that Markus was already doing this, since -setAlphaValue: is
documented to throw an exception if your view isn't already layer-backed.
I wasn't, and I was puzzled by this as well. I assumed the comment about the
exception was a documentation left-over from earlier SDK releases. It definitely
doesn't throw an exception when used on non-layer backed views.
Regards
Markus
--
__________________________________________
Markus Spoettl
_______________________________________________
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