Link Xcode 4.2 to MySQL database

Joined
Mar 5, 2012
Messages
2
Reaction score
0
Points
1
Hello,

Me and my friend are making an iPhone app on Xcode 4.2 and using MAMP for the database.. How can I insert/delete and update mySQL database from text fields in the app.. What are the commands to be used in the xcode? Are we suppose to use php?
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
iOS apps are written in Objective-C - PHP has no role in this unless you're creating a web app (and, given that you're using Xcode, I'm going to guess that you're not). Take a look at Apple's data management page for some assistance.

If you're data related needs aren't all that involved, SQLite will probably suffice.
 
OP
R
Joined
Mar 5, 2012
Messages
2
Reaction score
0
Points
1
Actually its a bit large database.. Do you have the insert/delete and update commands that should be used?
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top