Thursday, 4 July 2019

IOS APP DATABASE INTEGRATION USING FMDB

STEP ONE CREATE DATABASE AND TABLE

COPY DATA BASE INTO PROJECT



// util.copydataBase("Sata.db") Write this Line IN APPdelegate file after Downloading Zip File and copy into your project

https://drive.google.com/file/d/1nptZ8mE6jc-iCC-EjEtqu5NSVHfAm0SE/view?usp=sharing


Set Below code in your viewcontroller where you want to save data

 @IBAction func SaveClick(_ sender: UIButton)

    {
        let modelinfo = SignuModel(fname: txtFname.text!, lname: txtLname.text!, dob: txtDOB.text!, email: txtEmail.text!)
        let isSave = DBHelper.getinstance().savedata(modelinfo)
        print(isSave)
    }

1 comment:

  1. Very interesting post..!

    IOS APP DATABASE INTEGRATION USING FMDB

    Will try this to integrate database of iOS app using FMDB

    Top 5 Important Tips To Know Before Hiring An iOS Developer

    Hire iOS Developers

    ReplyDelete