sqlite - Binding List to a NSArrayController to use in an NSTableView -
i trying create simple window display list of items comes sqlite3 database. have generic list of objects, , want bind controls on windows. best way this? if .net windows forms, this, cocco equivalent? mybindingsource.datasource = new list<myobject>(); my viewcontroller.cs code looks this: list<myobject> datasource = datastore.getlibraries(); public override awakefromnib() { base.awakefromnib(); datasource = getmyobjects(); myarraycontroller.bind("contentarray", this, "datasource", null); // throws error } but throws error: class not key value coding-compliant key datasource. thanks! after linking libsqlite3.dylib framework (general:linked frameworks , libraries) , adding database-file project create sqlite accessor class, database connections , enable queries. if project should save database, on installation database must placed @ position have write-access, in "documents"-folder iphone app or in ...