• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: right way to load initial data in controls when opening a window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: right way to load initial data in controls when opening a window
      • From: Chris Giordano <email@hidden>
  • Prev by Date: Getting type of and downloading files
  • Next by Date: Re: Robust DO connections
  • Previous by thread: Re: Right way to load initial data in controls when opening a window
  • Next by thread: Re: right way to load initial data in controls when opening a window
  • Index(es):
    • Date
    • Thread