Singleton as a common area?
Singleton as a common area?
- Subject: Singleton as a common area?
- From: Jerry LeVan <email@hidden>
- Date: Wed, 20 Feb 2008 13:16:20 -0500
It is probably due to my meager design skills, but more
than once I have wished that I could have easy access to
objects from other objects.
I have a tendency to build an object and fiddle with it
and when I understand how it works, I have to ease the
rascal into the main application.
This generally means that I have lots of source files.
It seems to me that a singleton object could be used
to hold lots of global state info and it would be
easy to instantiate the singleton in each of the
source files to access the stashed info...
Is this a reasonable way to share info?
Thanks,
Jerry
_______________________________________________
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