ソースを参照

Minor README fixes

Robert M. Ryan 8 年 前
コミット
864d3ab7ae
1 ファイル変更2 行追加2 行削除
  1. 2 2
      README.markdown

+ 2 - 2
README.markdown

@@ -1,4 +1,4 @@
-f# FMDB v2.7
+# FMDB v2.7
 
 This is an Objective-C wrapper around SQLite: http://sqlite.org/
 
@@ -284,7 +284,7 @@ In Swift, you would use `executeUpdate(values:)`, which not only is a concise Sw
 do {
     let identifier = 42
     let name = "Liam O'Flaherty (\"the famous Irish author\")"
-    let date = NSDate()
+    let date = Date()
     let comment: String? = nil
 
     try db.executeUpdate("INSERT INTO authors (identifier, name, date, comment) VALUES (?, ?, ?, ?)", values: [identifier, name, date, comment ?? NSNull()])