Re: Shared objects and other data
Re: Shared objects and other data
- Subject: Re: Shared objects and other data
- From: Ondra Cada <email@hidden>
- Date: Tue, 2 Apr 2002 18:04:47 +0200
On Tuesday, April 2, 2002, at 04:41 , email@hidden wrote:
Sorry if I was not more specific, but I meant that I don't want to
make
the data into instance variables, because then references would be created
each time that the class is instantiated, which is not much of a problem,
but
I don't like the inefficiency of it.
The recommended and most generic way of this is make one shared instance
with data in properties, like NSFileManager or NSApplication do.
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
2K Development: email@hidden
http://www.2kdevelopment.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
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.