Stephen Celis stephencelis

Organizations

@barrelage @crepe
@stephencelis

@boogdan Did you see the note there that specifically addresses bundled databases? Note: Signed applications cannot modify their bundle resources.…

@stephencelis

@blkbam Have you looked into querying against the sqlite_master table for table data? Something like the following should work: func tableExists(ta…

@stephencelis

Have you read the documentation on "Connecting to a Database"? https://github.com/stephencelis/SQLite.swift/blob/d87e05da167bdded01ae74001c5adda865…

@stephencelis

Ah, that's the issue! SQLite.swift currently bundles SQLCipher support in the same repo. Because of this, SQLite.swift on the master branch actuall…

@stephencelis

If you have access to sqlite.c are you building SQLite yourself rather than using the version that comes with the iOS SDK? If so, is it built with -…

@stephencelis

I'm not sure FTS4 is always available depending on the system library version. Could you provide the following? The CREATE VIRTUAL TABLE query in …

@stephencelis

Hm, is this the master or swift-2 branch? How are you integrating? Carthage?

@stephencelis
@stephencelis

The tricky part is ensuring that insert takes [(Setter<T>,...)]. Yep. I haven't figured out a maintainable way to build this in Swift yet. We may…

@stephencelis
@stephencelis

No problem. I'll try to look out for a question from you on Stack Overflow. Please provide detail in your question, along with code that you've tri…

@stephencelis
hi
@stephencelis

Hi there. Thanks for using SQLite.swift. Please read the contributing guidelines here: https://github.com/stephencelis/SQLite.swift/blob/d87e05da16…

@stephencelis
@stephencelis
Replace Foundation String format with Swift version
1 commit with 37 additions and 11 deletions
stephencelis commented on pull request stephencelis/SQLite.swift#190
@stephencelis

Awesome! Thanks!

@stephencelis
Support for Carthage
@stephencelis

Reopening for now. Will close with the next version of Carthage or with the mainlining of the swift-2 branch, whichever comes first.

@stephencelis

@lukescott Yeah, the Carthage branch here is out of date and most of the work that went into it was pushed into the Swift 2 migration. I hope to ge…

@stephencelis
stephencelis commented on pull request stephencelis/SQLite.swift#189
@stephencelis

Thanks!

@stephencelis
Change Blob internal value from NSData to [UInt8]
1 commit with 20 additions and 15 deletions
@stephencelis
Back Blob with [UInt8] instead of NSData?
@stephencelis

Good calls. If you'd like to submit a PR against master I'd love to accept it. I'll rebase swift-2 against it after.

@stephencelis

After sleeping on it I'm still wondering if prepare should ever throw. Is there a reason you can't use PRAGMA user_version to handle migrations? Or…

@stephencelis

When moving to swift-2 I actually lost that dependency, though I manually alloc the memory, so it's slightly messier: https://github.com/stephencel…

@stephencelis

Let me think about what the API would look like a bit more. Exposing an underlying path that throws sounds like a reasonable compromise, but I'd li…

stephencelis commented on pull request stephencelis/SQLite.swift#172
@stephencelis

Any chance we can get rid of this convenience initializer? The swift-2 branch actually uses a fully Swift implementation of Blob (no reliance on Fo…