File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ objc version :https://github.com/yuantiku/YTKKeyValueStore
10
10
## Requirements
11
11
12
12
- iOS 8.0+
13
- - Xcode 7 .0
14
- - Swift 2 .0
13
+ - Xcode 8 .0
14
+ - Swift 3 .0
15
15
16
16
## Usage
17
17
@@ -22,9 +22,9 @@ import YTKKeyValueStore
22
22
### YTKKeyValueStore
23
23
24
24
``` 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
26
26
27
- try ! store.createTable (" User" ) // create table
27
+ try ! store.createTable (tableName : " User" ) // create table
28
28
29
29
let table = store[" User" ] // get table (YTKTable)
30
30
@@ -72,7 +72,7 @@ arrayValue : return Array<AnyObject>?
72
72
73
73
Update Cartfile to include the following:
74
74
```
75
- github "sgxiang/YTKKeyValueStore_Swift" ~> 0.3.4
75
+ github "sgxiang/YTKKeyValueStore_Swift" ~> 0.4.1
76
76
```
77
77
78
78
Run ` carthage update ` and [ add the appropriate framework] [ Carthage Usage ] .
@@ -86,7 +86,7 @@ Update Podfile to include the following:
86
86
``` ruby
87
87
use_frameworks!
88
88
89
- pod ' YTKKeyValueStore_Swift' , ' ~> 0.3.4 '
89
+ pod ' YTKKeyValueStore_Swift' , ' ~> 0.4.1 '
90
90
```
91
91
92
92
Run ` pod install `
You can’t perform that action at this time.
0 commit comments