mooty
2006-07-07, 03:59
Hi all,
I've setup a document based cocoa app, with the MyDocument nib file.
The "window" outlet in the nib file is connected to my class and named as such. In my MyDocument.h file:
IBOutlet NSWindow *window;
and in my MyDocument.m click event for a button i have:
[window setTitle:@"hello world"];
I know the click event works, as I tried setting a property of a textfield and that works, but it wont communicate with my window. I've tried resizing the window with code, settings its transparency... nothing. Any ideas what I am doing wrong guys ? The app compiles fine...
I've setup a document based cocoa app, with the MyDocument nib file.
The "window" outlet in the nib file is connected to my class and named as such. In my MyDocument.h file:
IBOutlet NSWindow *window;
and in my MyDocument.m click event for a button i have:
[window setTitle:@"hello world"];
I know the click event works, as I tried setting a property of a textfield and that works, but it wont communicate with my window. I've tried resizing the window with code, settings its transparency... nothing. Any ideas what I am doing wrong guys ? The app compiles fine...