Re: NSTableView dataSource & delegate connection newbie question
Re: NSTableView dataSource & delegate connection newbie question
- Subject: Re: NSTableView dataSource & delegate connection newbie question
- From: j o a r <email@hidden>
- Date: Sun, 18 Jul 2004 17:52:59 +0200
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?
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.