• 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: Images in folder - simple question?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Images in folder - simple question?


  • Subject: Re: Images in folder - simple question?
  • From: "M. Uli Kusterer" <email@hidden>
  • Date: Thu, 29 Jan 2004 20:57:22 +0100

At 14:40 Uhr +0100 28.01.2004, Jvrn Salewski wrote:
If you have a lot of images or the images are very big and need fairly a
long time to instantiate, you could consider caching some of them. In this
case one would have two separate arrays, one containing the paths of all
images and a second containig some instantiated images. But this is getting
advanced.

Or, if you want "more elegant" and "a little more advanced", create your own "list item" class that holds the path to the file and any already-loaded images, and then just keep an array of such objects, instead of two. That would be a cleaner design, as everything that belongs together is stored together.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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: Images in folder - simple question? (From: Jörn Salewski <email@hidden>)

  • Prev by Date: Re: Create resizing Views
  • Next by Date: Re: Images in folder - simple question?
  • Previous by thread: Re: Images in folder - simple question?
  • Next by thread: List of Images like in System Preferences
  • Index(es):
    • Date
    • Thread