Re: right way to load initial data in controls when opening a window
Re: right way to load initial data in controls when opening a window
- Subject: Re: right way to load initial data in controls when opening a window
- From: Steve Woodward <email@hidden>
- Date: Fri, 04 Apr 2003 07:57:09 -0800
FROM: Bill Cheeseman
DATE: 2003-04-04 13:25
on 03-04-03 7:30 PM, Steve Woodward at <EMAIL REMOVED> wrote:
>
The core of the problem for me is that I don't have a complete handle
>
on inter-class communications. I know about sending messages and about
>
accessor methods...but in this case I am confused because I am creating
>
a window controller from another "parent" window controller and I'm not
>
sure how the second window controller should reference data from the
>
first window controller.
>
In general, if controller B has a reference to controller A, you can call
>
any method in A from B using standard Objective-C message sending syntax.
There is my quandry...how do I give controller B a reference to controller A? Controller A creates an instance of controller B and therefore has a reference to it, but how can controller B reference controller A?
Thanks Bill!!
Steve W
Bill Cheeseman - <EMAIL REMOVED>
_______________________________________________
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.