1. 31 Jan, 2019 1 commit
  2. 10 Jul, 2018 1 commit
  3. 21 Oct, 2017 1 commit
    • Robert M. Ryan's avatar
      Revise README · 78ea4d92
      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.
      78ea4d92
  4. 10 Jun, 2017 1 commit
  5. 23 May, 2017 2 commits
    • Robert M. Ryan's avatar
      Minor README fixes · 864d3ab7
      Robert M. Ryan authored
      864d3ab7
    • Robert M. Ryan's avatar
      Implement properties · 07e0362e
      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
      07e0362e
  6. 11 Jan, 2017 1 commit
    • Robert M. Ryan's avatar
      2.7 · d565c205
      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;
      d565c205
  7. 04 Jan, 2017 1 commit
    • Robert M. Ryan's avatar
      Update README for Swift 3 · c28d787d
      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`.
      c28d787d
  8. 09 Dec, 2016 1 commit
  9. 04 Oct, 2016 1 commit
    • Robert M. Ryan's avatar
      Update README · 1c4d756d
      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).
      1c4d756d
  10. 10 Aug, 2016 2 commits
  11. 20 Jan, 2016 1 commit
  12. 29 Dec, 2015 1 commit
  13. 23 Dec, 2015 1 commit
  14. 21 Dec, 2015 3 commits
  15. 29 Nov, 2015 3 commits
  16. 19 Nov, 2015 1 commit
  17. 05 Nov, 2015 1 commit
  18. 30 Oct, 2015 1 commit
  19. 23 Oct, 2015 2 commits
    • Robert M. Ryan's avatar
      Update README · 33ed2c00
      Robert M. Ryan authored
      Replace `println` with `print`
      33ed2c00
    • Robert M. Ryan's avatar
      Update README · 64c9266a
      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.
      64c9266a
  20. 03 Aug, 2015 1 commit
  21. 02 Aug, 2015 4 commits
  22. 12 Jun, 2015 1 commit
  23. 01 Apr, 2015 1 commit
  24. 24 Jan, 2015 1 commit
  25. 28 Oct, 2014 1 commit
  26. 20 Oct, 2014 1 commit
  27. 13 Oct, 2014 1 commit
  28. 03 Oct, 2014 2 commits
  29. 02 Oct, 2014 1 commit