On Tue, Jun 22, 2010 at 2:03 PM, Chris Tracewell <ch...@thinkcl.com> wrote:
> I have my own custom framework. The framework builds fine but when I link to 
> it in one of my projects one class is causing a compile error of...
>
> 'MyClass' undeclared (first use in this function)
>
> This occurs when I am trying to init MyClass inside a view controller's .m 
> file in one of it's methods like so...
>
> MyClass *theClass = [MyClass new];

Did you remember to #import the header file that declares MyClass's interface?

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to