nsarraycontroller, bindings and big databases
nsarraycontroller, bindings and big databases
- Subject: nsarraycontroller, bindings and big databases
- From: "Joris Mans" <email@hidden>
- Date: Mon, 13 Feb 2006 10:21:30 +0100
Hi
As a new cocoa/mac/obj.C developer i m just getting used to all these new systems for me (coming from windows), but i have some questions.
I ve been using bindings (not always straightforward, but getting there :D), but now i stumbled upon some issues.
The question is:
When using an NSArrayController to show data in an NSTableView it first loads all data to show in the table in the array object in the controller, so it shows it correctly and all works well, but how do i handle the fact that my tableview should show the contents of lets say a very large database containing thousands of entries. I dont want to load them all in memory in my array at once, i want to update the array so it only loads a part of the array around the current selection of the database. How do i do this in cocoa with bindings? Do KVO on the selection of the arraycontroller and update the array manually? Any other way?
tnx
Joris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden