tdawson@weeg.uiowa.edu (Tim Dawson) (05/27/91)
HISTORY OF THE PROBLEM:
I'm working on a fairly large project in which I am utilizing the
subproject feature which has been added in IB 2.0. My project is
split into four subprojects, and sometimes I need to use certain
objects which have been created in other subprojects. (These
objects that I need are mostly text field subclasses which I have
created, i.e. a textfield which only accepts proper dates.)
In order to do this, I created a directory in my main project
directory, and called it "IB_Palettes." This directory is not a
subproject, it is merely another project whose directory resides in
another project's directory. After this, I moved all my view subclasses
from the subprojects into this project and stumbled my way through
creating a custom palette for my app.
PROBLEM 1:
I load the palette and drag the textfields that I need to the proper
locations on my window. Everything works smooth up to here. Then I try to
"make debug." At the *very end* of the compile (after the last long line
which links the entire project together) I get the following error:
/bin/ld: Undefined symbols:
.objc_class_name_AcctCell
and then the compile halts. AcctCell is an NXBrowserCell subclass which
I use both in a browser and also in a scrollView. This last point should
not make a difference since everything worked fine before I transferred
the code to the palette project. I am somewhat sure the answer has to do
with my ignorance in creating the palette.
PROBLEM 2: (misc. palette questions)
Sometimes when I load my palette, the icon I created appears, and some-
times the icon for textfields, etc. appears a second time in my icon's place.
Is it possible to unload a palette without quitting IB? When I was
creating my palette, after a change I would have to quit IB in order to re-
load and test my palette. (If I did not, I got a "This palette is already
loaded" msg.)
Any help along these lines will be greatly appreciated/acknowledged.
Please e-mail directly and I will post the solution if one is found.
- Timothy A. Dawson
- User Group Leader, NUGI (NeXT User Group of IOWA)
- Independent Developer (can't afford to attend camp)
- e-mail: tdawson@shumun.weeg.uiowa.edu