Missing Obj-C Category Method Implementations: No linker errors?!?!
Missing Obj-C Category Method Implementations: No linker errors?!?!
- Subject: Missing Obj-C Category Method Implementations: No linker errors?!?!
- From: Jerry Krinock <email@hidden>
- Date: Fri, 13 Mar 2009 21:57:52 -0700
I have a Cocoa application target in a project. I need to make a
helper tool using the same sources, but I estimated that my tool will
only need 40 of maybe 200 of the files which are members of the
application target. So instead of duplicating the application target
I created the tool target from scratch, using the Foundation Tool
template, and added files as needed until it built and linked without
error.
But I'm still missing needed files, so I'm adding them one-by-one as I
see runtime crashes. Yikes. The missing methods are explicitly
invoked in the source code that is compiled, and so far I believe that
all of the missing method implementations are all in Objective-C
"categories", for example, an NSString category, etc.
I understand I'm not getting any build errors since the #imports are
including all the required declarations. But why don't these
omissions of category implementations generate linker errors? I don't
see any such Build Setting under Linker.
Thank you,
Jerry Krinock
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden