• 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
Can't create pointer to custom class
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Can't create pointer to custom class
      • From: Graham Cox <email@hidden>
  • Prev by Date: Re: MacBook Wake On Lan
  • Next by Date: Re: !foo vs foo == nil
  • Previous by thread: Re: creating instance using Class variable
  • Next by thread: Re: Can't create pointer to custom class
  • Index(es):
    • Date
    • Thread