Re: NSClassFormString returning nil.
Re: NSClassFormString returning nil.
- Subject: Re: NSClassFormString returning nil.
- From: Quincey Morris <email@hidden>
- Date: Wed, 04 May 2011 10:11:06 -0700
On May 4, 2011, at 09:12, Gustavo Pizano wrote:
> linker problems
Vagueness like this makes it hard to help you. Sometimes the actual error messages are important in deciding where to look for a solution.
> What can I do?
I'd very seriously suggest you don't use a static library at all. It really doesn't provide you with any benefits, so you may as well include the source code directly instead.
The whole point -- well, *a* whole point -- of a static library (in traditional C terms) is to allow you to link just those parts that are referenced by your client application, without having to figure it out for yourself. This doesn't work very well in Objective-C, because the language's dynamism makes it impossible in general to determine what's "referenced" at link time.
If you have other reasons for library-izing your Objective-C code, a framework is a much better choice, probably.
_______________________________________________
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