NSTableView dataSource & delegate connection newbie question
NSTableView dataSource & delegate connection newbie question
- Subject: NSTableView dataSource & delegate connection newbie question
- From: Aaron Braunstein <email@hidden>
- Date: Sun, 18 Jul 2004 08:39:35 -0700
OK, I'm willing to bet dollars to donuts that the answer to this one's
gonna be a "Duh!" kind of thing (typically accompanied by the
obligatory forehead slap) but I'm going to ask it anyway. Be gentle.
:)
I've just started mucking about in Cocoa and have made my way to the
point where I'm implementing mini-apps which involve NSTableViews. My
question is this: IB seems to not be presenting me with the dataSource
and delegate outlets where I would expect them to be (i.e. in the
"outlets" tab of the Connections panel on the object inspector.)
Setting the connections via invoking setDataSource and setDelegate in
the awakeFromNib method takes care of the problem, but it's still been
bugging the heck out of me and I can't shake the feeling that I'm
missing something obvious (and potentially necessary further down the
road) here. The best (worst?) part is that if I dig through Cocoa
books or online references, they all discuss this topic as if setting
the outlets via the Connections panel is the typical way it's to be
done and is supported there as I'd expect it to.
Can anybody help shed some light on what's happening?
--
Aaron Braunstein
"Good enough" shouldn't be. From there the fall into mediocrity and
indifference is a short one.
_______________________________________________
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.