custom view subclass won't connect to custom controller class
custom view subclass won't connect to custom controller class
- Subject: custom view subclass won't connect to custom controller class
- From: otherguy <email@hidden>
- Date: Sat, 28 Feb 2004 18:00:19 -0700
Hello all, I'm thoroughly confused.
I'm writing a custom subclass of NSView that I'm trying to connect to a
custom controller class both instantiated in the nib file.
However, even though I've defined an outlet IBOutlet (id) dataSource in
the custom view, and connected that outlet to the controller, when I
log the value of dataSource during initWithFrame: for the custom view,
I get (null).
Is there something I need to do during the initialization of the view
to make outlets connected via interface builder stick?
Sample of what I'm logging... (TOGTempController is the dataSource)
2004-02-28 17:45:03.361 category view[4887] TOGCategoryView
initWithFrame
2004-02-28 17:45:03.362 category view[4887] TOGCategoryView dataSource:
(null)
2004-02-28 17:45:03.496 category view[4887] TOGTempController init
2004-02-28 17:45:03.504 category view[4887] TOGTempController init:
self: <TOGTempController: 0x33fc70>
Thanks for your help, I'm totally lost as to why it wouldn't take.
Thank you!
-Cameron Wilhelm
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.