MySQL & Cocoa
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?
On Wed, 12 Oct 2005 11:47:35 +1000, Julian Leviston <julian...>
> 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
(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