Skip to content

pipi32167/SQLiteSwiftDemo

Repository files navigation

SQLiteSwiftDemo

基于 SQLite.swiftSimple tokenizer 的一个demo。参考了这个 demo

关键步骤

  1. 修改Podfile添加依赖项

      pod 'SQLite.swift', :subspecs => ['standalone'] # 不使用系统提供的SQLite
      pod 'sqlite3', :subspecs => ['fts5'] # 开启fts5
  2. 拷贝FTS文件夹,添加[YourProjectName]-Bridging-Header.h,本项目是SQLiteSwiftDemo-Briging-Header.h,然后将此头文件添加到Build Settings -> Objective-C Bridging Header中。

剩下的可以自行阅读代码。

效果图

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages