In my application, I am using a NSTableView that is connected to a NSArrayController. In my case, I am loading absolutely everything into memory, which in itself is not really a problem. It is really fast and responsive, but I am planning to use a database instead to make the data more persistent.
I am almost certain I remember a kind of view in the past, that you just specified how many items were in the view, so the view knew the amount to scroll, then the view would ask for the data it needed for the items that were visible, and discard everything else, if it wanted. In this way, I don't need to keep everything in memory at once.
My problem is that I don't remember what it is called, nor can I find it, and lastly, I don't know what to search for.
I would probably not have much problems making such a thing myself, but it will be a lot more work. If there is something already existing, I'd rather use that. Does anybody have any ideas?