• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Shared objects and other data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
References: 
 >Re: Shared objects and other data (From: email@hidden)

  • Prev by Date: Fadeing in and out
  • Next by Date: Re: Cocoa's Popularity
  • Previous by thread: Re: Shared objects and other data
  • Next by thread: Re: Shared objects and other data
  • Index(es):
    • Date
    • Thread