Is it 'wrong' to use a global dictionary?
Is it 'wrong' to use a global dictionary?
- Subject: Is it 'wrong' to use a global dictionary?
- From: Jason Galarneau <email@hidden>
- Date: Wed, 12 Mar 2003 22:37:07 +1030
I'm making an app that stores its data (1000's of instances of a custom
object) in a dictionary, and would like to be able to access that data
from any bit of my program (i.e. from within the code of any of my
controlling objects)
Is it bad form to use a global dictionary for such a purpose? What is
the 'established' way to do such a thing in Cocoa?
_______________________________________________
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.