KVO mysql
KVO mysql
- Subject: KVO mysql
- From: Rolf Kurt <email@hidden>
- Date: Sun, 25 Sep 2005 10:42:42 +0200
Hi,
I like to use KVO with the query results from a mysql database.
I get the query result in an array of dictionaries.
So what is the best way to start observing changes in the dictionaries?
Do I have to loop over the dictionary entries
store each entry in a instance variable of a new tableRowEntry object
( like the person object in ch. 7 Hillegass Cocoa Progr.)
start observing each instance variable
save the new tableRowEntry object to an array
connect the array to an NSArrayController ?
Or is there a more elegant way to observe an array ?
The view should be composed of testFields displaing the instance
variables
and buttons for jumping to the next, previous, first, last entries
of the array of tableRowEntry instances.
I hope someone can push me in the right direction.
Any hints are welcome.
Thanks in advance.
_______________________________________________
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