简体   繁体   English

使用Swift创建iOS应用程序并需要知道如何使用mysql数据库跟踪用户数据?

[英]Creating iOS app using Swift and need to know how to keep track of users data using mysql database?

I am creating an iOS app using Swift and XCode, I want users to be able to log in and out and allow them to post through my app. 我正在使用Swift和XCode创建一个iOS应用程序,我希望用户能够登录和退出并允许他们通过我的应用程序发布。 I know that I need a database for this, I don't know how to link a mySql database with my code. 我知道我需要一个数据库,我不知道如何将mySql数据库与我的代码链接。 Can someone help? 有人可以帮忙吗?

Like @frashnian stated, you need to do something on your own and when you encounter an error you are unable to solve, you post it here for possible solution. 就像@frashnian所说,你需要自己做一些事情,当你遇到一个你无法解决的错误时,你可以在这里发布它以寻求可能的解决方案。

I think you can start learning about iOS/SQLite from here: http://www.techotopia.com/index.php/An_Example_SQLite_based_iOS_8_Application_using_Swift_and_FMDB 我想你可以从这里开始学习iOS / SQLite: http//www.techotopia.com/index.php/An_Example_SQLite_based_iOS_8_Application_using_Swift_and_FMDB

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM