Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can't override windowDidLoad



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.




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.