Re: NSTableView dataSource & delegate connection newbie question
Re: NSTableView dataSource & delegate connection newbie question
- Subject: Re: NSTableView dataSource & delegate connection newbie question
- From: Aaron Braunstein <email@hidden>
- Date: Sun, 18 Jul 2004 08:59:26 -0700
Yep... just as I thought. My forehead is stinging as I type this.
(Note to self: Double-click has meaning in IB.) Thanks!
On Jul 18, 2004, at 8:52 AM, j o a r wrote:
It's easy to mistake the table view for the surrounding scroll view,
as they're dragged into the window in unit. When you make connections
to or from the table view in IB, make sure to target the table view
inside the scroll view.
j o a r
On 2004-07-18, at 17.39, Aaron Braunstein wrote:
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.