Is there a framework or class that allows Cocoa and Objective-C to interface with a remote database, be it SQLite, MySQL, or another (though preferably SQLite)?
Asked
Active
Viewed 718 times
1 Answers
1
You can download the source and compile this yourself but I have read that it is a pain and I think the project may be dead:
However, connecting to a remote DB directly from an iPhone/iPad App is a very bad idea. Imagine someone with a jailbroken iPhone and a simple packet sniffer.... It would be incredibly easy for someone to compromise the security of your Database.
The best way to acomplish this is to wrap it in php via a web server on your remote Database server. You can then run a query on the DB with a simple http POST request and have the page return xml/json/whatever.

chown
- 51,908
- 16
- 134
- 170