Reputation: 12625
After updating to Xcode 6.3/Swift 1.2 I'm getting these errors. (.NoCase
can't be found, and .insert
doesn't accept (Setter, Setter)
.
Did something change in the SQLite swift API?
Upvotes: 0
Views: 67
Reputation: 4964
SQLite.swift is still young so the API is still a bit in flux as things tighten up. Sorry for the inconvenience!
Collating sequence names have been un-camelcased. See: https://github.com/stephencelis/SQLite.swift/commit/74e80d3eb4b1108b37c2acec3321cf27f5037843
Upgrade path:
.Nocase
.
Insert's overload returns an Int64
now. See: https://github.com/stephencelis/SQLite.swift/commit/5380d5b502bd76ea99fe0ec54785f6bacd1cb8c1
Update path: return
Int64?
fromsaveNotes
.
Upvotes: 1