On May 14, 2012, at 1:14 PM, Markus Spoettl <[email protected]> wrote:
> 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. Yeah, one can change the alpha value when not using layers. I guess this slipped through the cracks, as it has worked for a while. We draw the view (and children) into an image and then composite that for the real drawing. Definitely log a documentation bug asking to clarify this. corbin > > Regards > Markus > -- > __________________________________________ > Markus Spoettl _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
