• 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
Accessing CALayer properties
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Accessing CALayer properties
      • From: Tim Kolar <email@hidden>
    • Re: Accessing CALayer properties
      • From: Antonio Nunes <email@hidden>
  • Prev by Date: Re: NSManagedObjectContext - Key Value compliant
  • Next by Date: Re: Accessing CALayer properties
  • Previous by thread: Re: AuthSample
  • Next by thread: Re: Accessing CALayer properties
  • Index(es):
    • Date
    • Thread