Re: Images in folder - simple question?
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.