Can't override windowDidLoad
Can't override windowDidLoad
- Subject: Can't override windowDidLoad
- From: Joe Chan <email@hidden>
- Date: Tue, 30 Oct 2001 14:23:00 -0500
I've been beating my heading against the wall for half a day
trying to get my window controller to work. It seems that the
compiler ignored the override of windowDidLoad in my subclass,
and I can't seem to find out why (I also tried other window
controller methods, and none of them are picked by the compiler,
but overrides of NSResponder do get picked up). Since there is
no way to find out in PB whether a piece of code is linked in, I
really can't tell what's going on (I put NSBeep in the function,
and it didn't beep, which probably means that the function
didn't get called at all). I copied the code in Vermont Recipe
and it worked in that project, but not mine. The only difference
is that I don't have a document object. I tried cleaning the
project and build from scratch, etc. but nothing helps.