• 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
Notifications or singletons?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Notifications or singletons?


  • Subject: Notifications or singletons?
  • From: Andrew Merenbach <email@hidden>
  • Date: Sun, 6 Apr 2003 16:12:06 -0700

I'm working upon a small address-book-like application that maintains a list of contacts and associated data. When a contact's name is double-clicked in the main list, a new window opens with more detailed information. I currently do this via a singleton: the detail window has a shared instance that my master list calls, with the currently-selected contact as an argument, and the contact window controller loads the contact's information. Would this be better done through notifications?

Take care,
Andrew
_______________________________________________
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: Notifications or singletons?
      • From: j o a r <email@hidden>
    • Re: Notifications or singletons?
      • From: Alexander Reichstadt <email@hidden>
  • Prev by Date: Re: FocusRing for view inside an NSScrollView ?
  • Next by Date: Transferring large files using DO
  • Previous by thread: SQLite header error in build
  • Next by thread: Re: Notifications or singletons?
  • Index(es):
    • Date
    • Thread