Re: Question about TableView - how do I know which tableView?
Re: Question about TableView - how do I know which tableView?
- Subject: Re: Question about TableView - how do I know which tableView?
- From: Denis Stanton <email@hidden>
- Date: Thu, 6 Feb 2003 20:31:24 +1300
On Thursday, February 6, 2003, at 07:49 PM, Scott Anguish wrote:
One way to look at it, is that
you want the outlet of the object to be set to the UI element (so,
drag from the object that contains the outlet to the UI element)
So you always drag from the instances window to the UI when setting
outlets? I was worrying about whether the data was moving from the
program to the UI or from the UI to the program. I.e, I thought the
direction of the drag depended on whether it was Output or Input. This
idea breaks down with things like the table view, which is both input
and output, leaving my understanding a bit stranded
you want the UI element to trigger an action (so drag from the UI
element to the object that contains the action)
That I can follow. Clearly an action moves from the UI button to the
program action method.
Overall, I'd say that action/outlet and File's Owner are two of the
'newest' concepts to learn for Cocoa for most people. Memory
management (retain/release) is the other big stumbler for many folks.
I'll agree to all of that. I am totally bluffed by File's Owner.
O'Reilly's Learning Cocoa has very little to say about it, and so far I
can't see how to use it. What file it it referring to? The book says I
specify FO programatically, in the second argument of NSBundle's
loadNibNamed: owner, which unfortunately means very little to me at
this stage as NSBundle has not been mentioned before in the Cocoa book
or the other tutorials I'm working through. I have had another book or
order since 14 December but apparently someone in the Post Office
borrowed it to read over Christmas and has forgotten to put it back
into the delivery system
Thanks for your help
Denis Stanton
email@hidden
Home: +64 9 533 0391
mobile: +64 21 1433622
_______________________________________________
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.