[Openmcl-devel] nib-loading.lisp bug
Paul Krueger
plkrueger at comcast.net
Tue Nov 17 09:26:57 PST 2009
In the file:
.../ccl/examples/cocoa/nib-loading/nib-loading.lisp
there is the line:
*NSApp* #@"NSNibOwner"
where the dictionary entry for the Nib file owner is set up. This
probably works as long as you want the application object to own the
nib file, but if you try to do something similar with another sort of
file owner object it will fail to use the object you give it and
instead instantiate a new instance of that class.
The correct line should be:
*NSApp* #&NSNibOwner
which uses the defined constant NSNibOwner (which on my system
evaluates to the string "NSOwner").
Paul
More information about the Openmcl-devel
mailing list