• 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: Layer hosting custom NSView and setAlphaValue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Layer hosting custom NSView and setAlphaValue


  • Subject: Re: Layer hosting custom NSView and setAlphaValue
  • From: Corbin Dunn <email@hidden>
  • Date: Mon, 14 May 2012 09:10:31 -0700

On May 11, 2012, at 1:53 PM, Markus Spoettl <email@hidden> wrote:

> Hello,
>
>  I have a layer hosting custom view which I can't convince to listen to the alpha value I set on its superview. Other views sitting on the same superview correctly fade with the alpha value of the superview changing. My view doesn't. It simply hides when the superview's alpha is less than 1.
>
> Not sure what the problem is, the documentation for setAlphaValue doesn't tell me a lot, neither does the view programming guide.
>
> Any ideas?

Hi Markus,
It sounds like the parent view which you are setting the alphaValue on is not layer backed, but you do apparently have a layer backed child. That won't work; make the parent layer backed.

corbin

>
> 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


_______________________________________________

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: Layer hosting custom NSView and setAlphaValue
      • From: Markus Spoettl <email@hidden>
References: 
 >Layer hosting custom NSView and setAlphaValue (From: Markus Spoettl <email@hidden>)

  • Prev by Date: Re: Missing children in NSTreeController/NSOutlineView
  • Next by Date: Re: Layer hosting custom NSView and setAlphaValue
  • Previous by thread: Layer hosting custom NSView and setAlphaValue
  • Next by thread: Re: Layer hosting custom NSView and setAlphaValue
  • Index(es):
    • Date
    • Thread