- 31 Jan, 2019 1 commit
-
-
August Mueller authored
-
- 10 Jul, 2018 1 commit
-
-
Quico Moya authored
-
- 21 Oct, 2017 1 commit
-
-
Robert M. Ryan authored
- Eliminate discussion of `FMDatabaseQueue` no longer being optional in 2.7, because it actually is. - Given new Apple guidance regarding "Documents" vs "Application Support", changed Swift example to use the latter instead of the former.
-
- 10 Jun, 2017 1 commit
-
-
Robert M. Ryan authored
-
- 23 May, 2017 2 commits
-
-
Robert M. Ryan authored
-
Robert M. Ryan authored
There were several properties that were implemented as simple getter and setter methods, with no formal property definitions, but with manually defined ivars. In Objective-C this isn't problematic (as the Objective-C "dot" notation is merely syntactic sugar), but it leads to an unintuitive interface for Swift. By shifting these manually implemented getter/setters with manual ivars to properties makes the code a little more intuitive, and leads to more natural looking code in Swift (e.g. rather than `let timeout = db.maxBusyRetryTimeInterval()` and `db.setMaxBusyRetryTimeInterval(value)`, we can just do more natural `let timeout = db.maxBusyRetryTimeoutInterval` and `db.maxBusyRetryTimeInterval = value`. Affected properties include `databasePath`, `maxBusyRetryTimeInterval`, `shouldCacheStatements`, `sqliteHandle`, `hasOpenResultSets`, `lastInsertRowId`, `changes`, `goodConnection`, `columnCount`, `resultDictionary`, `applicationID`, `applicationIDString`, `userVersion`, `countOfCheckedInDatabases`, `countOfCheckedOutDatabases`, and `countOfOpenDatabases`. Also updated documentation for the file URL based methods. Also a few deprecated methods have been updated with `__deprecated_msg` so that the app developers have a fighting chance to see what the replacement method should be. Renamed `isInTransaction`. Fixed a few nullability definitions, e.g. `stringForColumn` (and all the other similar ones that return pointers), `columnNameForIndex`, etc. The `objectForColumn` (and the associated subscript operator) now returns `nil` if an invalid column name/index is passed to it. It used to return `NSNull`. I've created unit tests that test that. Updated README
-
- 11 Jan, 2017 1 commit
-
-
Robert M. Ryan authored
- Audited for nullability; - Updated `makeFunctionNamed` and added associated utility `value` and `result` methods; - Added URL methods; - As adding tests for new methods, expanded test coverage a bit (now over 80% coverage); - Updated VFS tests to make sure they unregister;
-
- 04 Jan, 2017 1 commit
-
-
Robert M. Ryan authored
Notably, in `inTransaction`, in Swift 3: - the parameters are optionals (because FMDB has not yet been audited for nullability) and - `memory` has been replaced with `pointee`.
-
- 09 Dec, 2016 1 commit
-
-
Felix Krause authored
-
- 04 Oct, 2016 1 commit
-
-
Robert M. Ryan authored
1. Remove hard coded `/tmp` folder. At the very least, use `NSTemporaryDirectory`. You can also use `URLForDirectory` with `NSItemReplacementDirectory`, but I agree [with NSHipster says](http://nshipster.com/nstemporarydirectory/) that `NSTemporaryDirectory` is fine. 2. Comment out `[db release]` because for 99% of users, now, this isn't appropriate. But `nil` the pointer either way (in MRC, eliminate dangling pointer reference, in ARC, remove your strong reference).
-
- 10 Aug, 2016 2 commits
-
-
Robert M. Ryan authored
-
Robert M. Ryan authored
-
- 20 Jan, 2016 1 commit
-
-
Robert M. Ryan authored
-
- 29 Dec, 2015 1 commit
-
-
Robert M. Ryan authored
-
- 23 Dec, 2015 1 commit
-
-
Robert M. Ryan authored
-
- 21 Dec, 2015 3 commits
-
-
Robert M. Ryan authored
Fix typo for consistency's sake.
-
Robert M. Ryan authored
Minor typos
-
Robert M. Ryan authored
-
- 29 Nov, 2015 3 commits
-
-
Robert M. Ryan authored
-
Robert M. Ryan authored
-
Robert M. Ryan authored
The note regarding dragging FMDB files to Swift project was confusing, so I have attempted to clarify. Thanks to peakman https://github.com/ccgus/fmdb/pull/438 for raising this topic
-
- 19 Nov, 2015 1 commit
-
-
John Gorenfeld authored
-
- 05 Nov, 2015 1 commit
-
-
frankenbot authored
-
- 30 Oct, 2015 1 commit
-
-
Robert M. Ryan authored
These renditions are `executeQuery:values:error:` and `executeUpdate:values:error:`. Updated README, which has Swift 2 example, accordingly.
-
- 23 Oct, 2015 2 commits
-
-
Robert M. Ryan authored
Replace `println` with `print`
-
Robert M. Ryan authored
Fix Swift code sample so that it doesn't try to do `stringByAppendingPathComponent` on `String` object (because that method no longer exists). You can use `NSString` or shift to use `NSURL` pattern as suggested here.
-
- 03 Aug, 2015 1 commit
-
-
August "Gus" Mueller authored
-
- 02 Aug, 2015 4 commits
-
-
Robert M. Ryan authored
-
Robert M. Ryan authored
-
Robert M. Ryan authored
-
Robert M. Ryan authored
-
- 12 Jun, 2015 1 commit
-
-
Harshita Chandra authored
syntax highlight objective-c, swift and sql code snippets
-
- 01 Apr, 2015 1 commit
-
-
Jeffrey Jackson authored
-
- 24 Jan, 2015 1 commit
-
-
August Mueller authored
-
- 28 Oct, 2014 1 commit
-
-
August Mueller authored
-
- 20 Oct, 2014 1 commit
-
-
August Mueller authored
-
- 13 Oct, 2014 1 commit
-
-
Rob Ryan authored
-
- 03 Oct, 2014 2 commits
-
-
Constantin Lungu authored
-
Constantin Lungu authored
-
- 02 Oct, 2014 1 commit
-
-
Costea Lungu authored
-