Can't create pointer to custom class
Can't create pointer to custom class
- Subject: Can't create pointer to custom class
- From: Nathan <email@hidden>
- Date: Wed, 20 Aug 2008 18:37:37 -0400
I created a class, and want to make a pointer to it in another
class. So I did,
ESAnimation *animation;
ESAnimation turns green when I write it so I know it's recognizing
it, though I would expect it to turn blue. But when I try compiling,
it says syntax error before 'ESAnimation'. So I took out the line of
code, which was the only line of code I had written so far in that
class, and everything compiled fine. What's wrong? Also on the same
subject, I originally had the class in a framework, which I put
properly and completely into my project. It's sitting right in front
of me. But the same line of code stayed all white. It wouldn't
recognize the class name. Any help is appreciated.
Thanks, Nate
_______________________________________________
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