I'm using xcode 6 and I've imported libsqlite3.dylib
and libsqlite3.0.dylib
. I've also added the Bridging-Header.h
file witch imports sqlite3.h
I can open SQLite database and do simple operations like insert select...
With
if (sqlite3_bind_text(compiledStatement, 2, Name.cStringUsingEncoding(NSUTF8StringEncoding), -1, SQLITE_TRANSIENT) != SQLITE_OK)
I have an error: Use of unresolved identifier 'SQLITE_TRANSIENT'
What show I do? I'm new in Swift, it's my first question on Stack, pls somebody help me!
See Question&Answers more detail:os