• 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
Multiple Window Controllers...passing values
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Multiple Window Controllers...passing values


  • Subject: Multiple Window Controllers...passing values
  • From: Steve Woodward <email@hidden>
  • Date: Fri, 28 Mar 2003 18:07:34 -0500

I hope I can explain this correctly....
I have a window in my app that has a table (among other controls). What I want to be able to do is have a user double click a row in the table which opens another window with all the info loaded in edit fields. My question is this: I have a window controller for what we'll call the "main window". From within that controller I need to create an instance of the second window controller. That works fine, but how can I pass values to the second window controller? I guess my second window controller needs to reference the main window controller somehow...make the main window controller the delegate for the second window controller? I have other parts of the app working fine where everything is contained within one window, but this "window called from a window" bit has me stumped. Many thanks in advance for any advice!

Steve
_______________________________________________
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: Multiple Window Controllers...passing values
      • From: Oleg Svirgstin <email@hidden>
  • Prev by Date: Library dependencies
  • Next by Date: Knowing when all dragged files were processed...
  • Previous by thread: Library dependencies
  • Next by thread: Re: Multiple Window Controllers...passing values
  • Index(es):
    • Date
    • Thread