[ios, macos] Update minimum deployment versions to iOS 9, macOS 10.11 (#11776)

* [ios] Remove iOS 8 conditionals

* [ios, macos] Bump pod deployment targets

* [ios, macos] Add changelog entries

* [ios, macos] Update docs

* Remove unnecessary selector-based version checks

* Update SQLite note

* [ios, macos] Replace lightweight generics macros with direct use
   Lightweight generics for Foundation collections are available everywhere with the bump to iOS 9 and macOS 10.11.

* Update deprecated macOS method
This commit is contained in:
Jason Wray
2018-04-27 12:25:49 -04:00
committed by GitHub
parent 1a39d7db48
commit c067865e7b
85 changed files with 374 additions and 486 deletions

View File

@@ -291,11 +291,12 @@ template <> void Query::bind(int offset, const char *value) {
}
// We currently cannot use sqlite3_bind_blob64 / sqlite3_bind_text64 because they
// was introduced in SQLite 3.8.7, and we need to support earlier versions:
// iOS 8.0: 3.7.13
// iOS 8.2: 3.8.5
// According to http://stackoverflow.com/questions/14288128/what-version-of-sqlite-does-ios-provide,
// the first iOS version with 3.8.7+ was 9.0, with 3.8.8.
// were introduced in SQLite 3.8.7, and we need to support earlier versions:
// Android 11: 3.7
// Android 21: 3.8
// Android 24: 3.9
// Per https://developer.android.com/reference/android/database/sqlite/package-summary.
// The first iOS version with 3.8.7+ was 9.0, with 3.8.8.
void Query::bind(int offset, const char * value, std::size_t length, bool retain) {
assert(stmt.impl);