• 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: [Newbie] Communication between two Views?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Newbie] Communication between two Views?


  • Subject: Re: [Newbie] Communication between two Views?
  • From: "I. Savant" <email@hidden>
  • Date: Mon, 28 Jul 2008 21:32:13 -0400

No idea whether this is of use but an example of two logically unconnected controllers talking to each other via notifications can be found here.


That's certainly a way to accomplish one-way messaging "whenever it gets there", but it's not always appropriate. Notifications do not occur within the same run loop, so this method wouldn't work if you needed to, say, tell another controller to modify something before continuing to "the next step". Additionally, how can you "ask" the controller for something (like its current selection)?

  Just some things to consider.

--
I.S.

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: [Newbie] Communication between two Views?
      • From: Ken Thomases <email@hidden>
References: 
 >Re: [Newbie] Communication between two Views? (From: julius <email@hidden>)

  • Prev by Date: Re: [Newbie] Communication between two Views?
  • Next by Date: Re: [Newbie] Communication between two Views?
  • Previous by thread: Re: [Newbie] Communication between two Views?
  • Next by thread: Re: [Newbie] Communication between two Views?
  • Index(es):
    • Date
    • Thread