Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Erich Snijder

macrumors newbie
Original poster
Feb 6, 2015
1
0
Hi to you all.

I'm using a SQLite database / table where I store my customer data. By starting the program the data is loaded in an NSMutableArray by using an NSArrayController. Linked at a NSTableView and working perfect. But when I want to change a record it's going to be edited in the array but not in the SQLite database. After I have changed the record in the tableview and pressed enter the record must be saved / updated in de SQLite database / table.

How can I change the record in the database by the NSArrayController? I've been looking on the internet at all kinds of information but did not find any help in this problem.

Greetings.
Erich Snijder.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.