• 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
CALayer opacity property type
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CALayer opacity property type


  • Subject: CALayer opacity property type
  • From: Graham Cox <email@hidden>
  • Date: Thu, 11 Aug 2011 13:59:09 +1000

CALayer's 'opacity' property is defined thus:

> /* The opacity of the layer, as a value between zero and one. Defaults
>  * to one. Specifying a value outside the [0,1] range will give undefined
>  * results. Animatable. */
>
> @property float opacity;


Why is this a 'float' and not a 'CGFloat'? It's causing a conflict in my app because I also have a property on another object type called 'opacity' that is a CGFloat type.

Bug? Oversight? Or for some good reason?


--Graham_______________________________________________

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

  • Prev by Date: Re: how to get response code on HTTP request synchronous
  • Next by Date: UINavigationBar button look?
  • Previous by thread: Re: how to get response code on HTTP request synchronous
  • Next by thread: UINavigationBar button look?
  • Index(es):
    • Date
    • Thread