ios swift development


SQLite in swift 3-1.Add SQLite library and start a basic Xcode project


Hide/Show description

This tutorial guides you how to add SQLite library to Cocoapods as a framework, then create a DadabaseManagement class to access local SQLite database. There are some steps as follows: 1.Create a new Xcode project with cocoa pod library: SQLite.swift installed(add to Podfile). 2. run pod install in MacOS terminal to install SQLite.swift library. 3. Create class DatabaseManagement with singleton pattern. In constructor, connect to local sqlite database. You can downoad code here: https://github.com/sunlight3d/ios_swift_development.git SUBSCRIBE TO CHANNEL: https://www.youtube.com/c/NguyenDucHoang Twitter: https://twitter.com/NguyenD97601913 Facebook: https://www.facebook.com/nguyen.duc.hoang.bk