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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to