Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa newbie question



I had the silly thing in reverse.

I was forgetting to add the self specifier when I sent the message.

Thanks,

Mike

Bill Bumgarner wrote:
On Mar 30, 2007, at 10:14 PM, Mike wrote:
Whenever I try to add simple instance methods to my Objective-C classes, the linker always gives me Undefined Symbol errors even though I've provided both a prototype in my .h and implementation methods in my .m file.

Is there something simple I am missing which I need to do to get the linker to see my instance methods?

Not much to go on here. This is a pretty fundamental pattern and you have likely made a simple mistake (easy to do when new to an environment).


Post some code.




_______________________________________________

Cocoa-dev mailing list (email@hidden)

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/email@hidden

This email sent to email@hidden
References: 
 >Cocoa newbie question (From: Mike <email@hidden>)
 >Re: Cocoa newbie question (From: Bill Bumgarner <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.