Outlets not allowing direct access...
Outlets not allowing direct access...
- Subject: Outlets not allowing direct access...
- From: Aaron Wallis <email@hidden>
- Date: Sat, 5 Mar 2005 12:39:45 +1100
Hi there,
Im having trouble getting a controller to directly communicate with a
NSView...
Basially, I am creating a toolbar controller that will create a toolbar
on launch of the application.
the toolbar class has three outlets:
myWindow - which is bound to the apps main window
mySearchView - which is bound to a NSView with a searchfield inside
myActionView - another NSView with some drop downs
all seems to be running good and well untill I attempt to reference the
views and window from within Xcode.
all the outlets are present and such, but if I were to add this line of
code:
NSLog ( @"Window - %s\n", myWindow );
it returns null, same happens with the views... however, if I pass the
view and window from the main myDocument.m class through the function
call it works fine...
Any ideas on why the class can't bind to the views at run time?
I can post more source code if you like...
Cheers
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden