Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

theallan

macrumors newbie
Original poster
Nov 3, 2005
3
0
Hi all,

I'm trying to follow through the full screen app tutorial on CocoaDevCentral ( http://www.cocoadevcentral.com/articles/000028.php ). But I can't for the life of me make the text in the full screen window editable. There is a note saying that 'canBecomeKeyWindow' needs to be over ridden by creating a sub-class of NSWindow. Which I have done. I've also set the CustomClass (in IB) to be CustomWindow (my sub class) - but its just not working.

I've included a NSLog report in the 'canBecomeKeyWindow' method, but it would appear not to be being called at all, since its not printing to the log. I guess I'm missing something somewhere...

Any help would be much appreciated
Thanks
Allan
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.