It just clicked... no need for replies!

On 28 Oct, 2008, at 16:44, DKJ wrote:

When I did this:

        myLayer.frame.size.width = rootLayer.frame.size.width;

I got an "illegal lvalue" error. But when I do this:

        CGRect r = help.frame;
        r.size.width = rootLayer.frame.size.width;

the compiler says nothing. Why can I use layer.frame.size on the right of =, but not the left?
_______________________________________________

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/hatzicware%40shaw.ca

This email sent to [EMAIL PROTECTED]

_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to