For our redesigned open source iMedia framework project (currently used by dozens of developers), we go to IKImageBrowserView and have an alarming time with caching.
It seems that IKImageBrowserView likes to preload / pre-cache images as a low priority background task, like many of them, but not yet visible. This can be useful, except that we do not want to load the CPU (and the network for remote images) if we can help it.
Moreover, we have our own FIFO caching mechanism (so that we can share our sketches with other views into the same data), all this does is filling the cache to capacity, and then dumping the old elements.
Is there any way to disable scheduling of this preloader? (Even if there is an undocumented API that we can use now, I will certainly open a request to turn it into an open API, since it is really important to disable this dangerous feature.)
This will really affect many applications. Any work that you can offer will be greatly appreciated.
BTW Some related discussions: http://lists.apple.com/archives/cocoa-dev/2007/Nov/msg02011.html
source share