• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
KVO mysql
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Prev by Date: Re: find what type of object a variable belongs to
  • Next by Date: CoreData question
  • Previous by thread: Trouble with NSManagedObjectContext
  • Next by thread: CoreData question
  • Index(es):
    • Date
    • Thread