Bundles Information
Bundles Information
- Subject: Bundles Information
- From: G Douglas Davidson <email@hidden>
- Date: Fri, 13 Sep 2002 17:28:56 -0400
I'm having a bit of a tricky time working with bundles. Specifically,
I'm attempting to make use of classes that will exist outside the
bundle. However, during the linking stage I'm getting "undefined
symbols:" for the classes in question.
I've specified the classes via a "@class" statement. I'm guessing that
anything here needs to be included in the link. Is there a way around
this? If I do something silly like this:
Class myclass;
myClass = NSClassFromString(@"Messenger");
[myClass whatever];
Things work. But it feel pretty ugly and all those compiler warnings
make finding real issues tricky.
So I guess my questions go something like this:
1. Is there a nicer way to directly code with the Class name, but not
include it in the link?
I guess I'm just not sure why its trying to link the class in.
2. When I am just specifying a class via "@class", because I don't want
to include the
header, etc., can I turn off the cannot find method warnings for
just those classes?
I know this is probably asking a lot, but I always thought of the
@class thing versus
including the header as a nice way to specify just how much you want
the compiler to
check up on you.
3. Are there any bundle related general discussions? I have not found
much looking at the
doc on Apple's site (but I don't seem to be very good at finding
stuff their either.)
Thanks!
--
G. Douglas Davidson | CityNet, Inc.
email@hidden | Pittsburgh, PA
voice: 412.481.5406 | fax: 412.431.1315
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.