Accessing CALayer properties
Accessing CALayer properties
- Subject: Accessing CALayer properties
- From: Jesus De Meyer <email@hidden>
- Date: Sun, 28 Oct 2007 15:53:00 +0100
Hi,
I'm testing the new CoreAnimation framework but I can't access or even
set the properties of the CALayer object.
The code I'm using is this:
CGPoint pt = layer.position;
Instead of this working, I get the following error: request for
member 'position' in something not a structure or union.
Do I need to tell Xcode that I'm using Objective C 2.0 or something?
PS: the project I'm doing started as a screensaver, but then I added
an Application target and added the nib and main.m file. Not sure if
that could cause this problem.
Thanks in advance,
Jesus
__________________
Jesus De Meyer
www.edot-studios.com
jesus.edot-studios.com
"creativity in mind"
_______________________________________________
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