Skip to content

Commit 818f346

Browse files
committed
update readme
1 parent 2c513b8 commit 818f346

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Diff for: README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ objc version :https://github.com/yuantiku/YTKKeyValueStore
1010
## Requirements
1111

1212
- iOS 8.0+
13-
- Xcode 7.0
14-
- Swift 2.0
13+
- Xcode 8.0
14+
- Swift 3.0
1515

1616
## Usage
1717

@@ -22,9 +22,9 @@ import YTKKeyValueStore
2222
### YTKKeyValueStore
2323

2424
```swift
25-
var store = try! YTKKeyValueStore("test.db") // create or open the key-value store
25+
var store = try! YTKKeyValueStore("dbtest.sqlite3") // create or open the key-value store
2626

27-
try! store.createTable("User") // create table
27+
try! store.createTable(tableName: "User") // create table
2828

2929
let table = store["User"] // get table (YTKTable)
3030

@@ -72,7 +72,7 @@ arrayValue : return Array<AnyObject>?
7272

7373
Update Cartfile to include the following:
7474
```
75-
github "sgxiang/YTKKeyValueStore_Swift" ~> 0.3.4
75+
github "sgxiang/YTKKeyValueStore_Swift" ~> 0.4.1
7676
```
7777

7878
Run `carthage update` and [add the appropriate framework][Carthage Usage].
@@ -86,7 +86,7 @@ Update Podfile to include the following:
8686
```ruby
8787
use_frameworks!
8888

89-
pod 'YTKKeyValueStore_Swift', '~> 0.3.4'
89+
pod 'YTKKeyValueStore_Swift', '~> 0.4.1'
9090
```
9191

9292
Run `pod install`

0 commit comments

Comments
 (0)