MySQL & Cocoa

  • Dear EVERYBODY,

    I'm trying to work out how I can possibly connect to MySQL through
    cocoa. There doesn't seem to be a lovely way to do it. I've had a
    look at cocomysql but it doesn't seem to complie with the latest
    xcode which is a thorough pain...

    can anyone give me some help in this direction?

    Julian.
  • On Wed, 12 Oct 2005 11:47:35 +1000, Julian Leviston <julian...>
    said:
    > Dear EVERYBODY,
    >
    > I'm trying to work out how I can possibly connect to MySQL through
    > cocoa. There doesn't seem to be a lovely way to do it. I've had a
    > look at cocomysql but it doesn't seem to complie with the latest
    > xcode which is a thorough pain...

    (1) Wrong list. This is a Cocoa development question, so it should go on
    Cocoa-Dev.

    (2) Objective-C is C. MySQL has a client library with a C interface, and
    it's well documented. So link to the library and implement whatever parts of
    the C interface you're interested in. Once you've got that working, you
    might like to wrap some Objective-C classes around it. It's pretty easy;
    took me about a day, IIRC. m.

    --
    matt neuburg, phd = <matt...>, <http://www.tidbits.com/matt/>
    A fool + a tool + an autorelease pool = cool!
    AppleScript: the Definitive Guide
    <http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt>
previous month october 2005 next month
MTWTFSS
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            
Go to today