• 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
How to manage (My)SQL data in Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to manage (My)SQL data in Cocoa


  • Subject: How to manage (My)SQL data in Cocoa
  • From: Michele Barboni <email@hidden>
  • Date: Sun, 9 Nov 2008 18:16:16 +0100

Hi,
I'm developing a small application for showing/adding/modifying/ deleting entries for a MySQL database by some NSTableViews.


My (mysql) tables are very simple, all of them has as primary-key and foreign-key an integer (autoincrement), other columns are varchar() or text.

Currently I'm querying the database for a column at once, building an NSArray of them and add all NSArrays (the columns) in a NSMutableArray ("the table").
For editing I'm doing queries in the NSTableView controller (and I really don't like this).


So, I was wondering if there's a "standard" way for storing sql data (not sqlite and core data of course..) with Cocoa collections.

For example, I have thought to a NSDictionary with id integers as key and NSArrays with the rest of the *row* as values, sounds better but since I'm not an experienced programmer I'm asking..

Thanks,
Michele.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: How to manage (My)SQL data in Cocoa
      • From: Quincey Morris <email@hidden>
  • Prev by Date: Re: CoreAudio — AudioUnit and AudioUnitExternalBuffer
  • Next by Date: Re: How to manage (My)SQL data in Cocoa
  • Previous by thread: Re: NSAttributedString in NSAffineTransform
  • Next by thread: Re: How to manage (My)SQL data in Cocoa
  • Index(es):
    • Date
    • Thread