Shared objects and other data
Shared objects and other data
- Subject: Shared objects and other data
- From: email@hidden
- Date: Mon, 1 Apr 2002 23:08:26 EST
What is the best way to implement an instance of a class so that it is
available to all applications that request the shared object? Would it be
best to make this a static global object in the source file for the class
which is instantiated upon initializing the class with a class method? Also,
how should data that is used in several methods be dealt with; should such
data be declared as static global in the source file for the class, or is
there a more OOP style for doing this? (I don't want to store the data in the
class because then it would be recreated along with each new instantiation
of the class and I don't want to have to recalculate the data each time in
order to keep it from being outside of the class).
_______________________________________________
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.