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 protected])

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