SQLite API 更改接近 Xcode 6.3 版本?

SQLite API changes proximal to Xcode 6.3 release?

更新到 Xcode 6.3/Swift 1.2 后,我遇到了这些错误。 (.NoCase找不到,.insert不接受(Setter, Setter)

SQLite 中是否发生了一些变化 swift API?

SQLite.swift 还很年轻,所以 API 随着事情的收紧仍然有点变化。抱歉给您带来不便!

  1. 整理序列名称已取消驼峰式命名。参见:https://github.com/stephencelis/SQLite.swift/commit/74e80d3eb4b1108b37c2acec3321cf27f5037843

    Upgrade path: .Nocase.

  2. 现在插入重载 returns 和 Int64。参见:https://github.com/stephencelis/SQLite.swift/commit/5380d5b502bd76ea99fe0ec54785f6bacd1cb8c1

    Update path: return Int64? from saveNotes.