i'm fairly new to programming. I am working with Xcode 6 and swift to build an iOS 8 app. my app has quite lot of data which i have organised into sqlite3 files using the firefox add on. i have dropped these files into my project folder. their extension is .sql now i need to access that data in my app. i have already linked the sqlite3 library by adding libsqlite3.dylib in the build phases tab. now i want to write the code to access the database. i have found a lot of information online with code and examples from iOS 7 and earlier using objective-c but nothing with iOS 8 and swift. if anybody can help me or lead me in the right direction i would be grateful. thanks.
相关问题
- “Zero out” sensitive String data in Swift
- SwiftUI: UIImage (QRCode) does not load after call
- Get the NSRange for the visible text after scroll
- SQL/SQL-LITE - Counting records after filtering
- UIPanGestureRecognizer is not working in iOS 13
相关文章
- SQLite不能创建表
- 小型数据库(SQLite,Derby,H2)可以存储多少数据?
- sqlite char数据类型 长度问题
- Using if let syntax in switch statement
- xcode 4 garbage collection removed?
- Xcode: Is there a way to change line spacing (UI L
- Unable to process app at this time due to a genera
- Enum with associated value conforming to CaseItera
you can use sqlite.swift framework to implement database connection with swift here is link https://github.com/stephencelis/SQLite.swift/blob/master/Documentation/Index.md
Here is example to connect sqlite database
I hope this helpful for you