Notifications or singletons?
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.