CALayer opacity property type
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