Latest0.2.0
Homepagehttps://github.com/xuyecan/SwiftyKVStore
LicenseApache License 2.0
Platformsios 8.0, requires ARC
Authors

Another simple Key/Value store for Swift backed by Unqlite.

By extracting the minimum feature set of Unqlite, SwiftyKVStore is really simple from top to bottom.

Install

pod 'SwiftyKVStore', '0.2.0'

Usage

let kvStore = SwiftyKVStore(name: "test1")

kvStore.put(key: "key1", value: "value1")

if let value = kvStore.get(key: "key1") {
    print("value: (value)")
}

kvStore.delete(key: "key1")

if let value = kvStore.get(key: "key1") {
    print("value: (value)")
} else {
    print("nothing")
}

License

Apache License Version 2.0.

Latest podspec

{
    "name": "SwiftyKVStore",
    "authors": {
        "xuyecan": "[email protected]"
    },
    "license": "Apache License 2.0",
    "requires_arc": true,
    "version": "0.2.0",
    "homepage": "https://github.com/xuyecan/SwiftyKVStore",
    "source_files": "SwiftyKVStore/**/*.{h,m,mm,c,swift}",
    "public_header_files": "SwiftyKVStore/SwiftyKVStore.h",
    "private_header_files": [
        "SwiftyKVStore/Store.h",
        "SwiftyKVStore/Unqlite/*.{h}"
    ],
    "source": {
        "git": "https://github.com/xuyecan/SwiftyKVStore.git",
        "tag": "0.2.0"
    },
    "summary": "Simple Key/Value store for Swift backed by Unqlite.",
    "description": "Aother Simple Key/Value store for Swift backed by Unqlite.",
    "platforms": {
        "ios": "8.0"
    },
    "preserve_paths": "SwiftyKVStore/StorePrivate/*",
    "xcconfig": {
        "SWIFT_INCLUDE_PATHS": "$(PODS_ROOT)/SwiftyKVStore/SwiftyKVStore"
    },
    "pod_target_xcconfig": {
        "SWIFT_VERSION": "4.0"
    }
}

Pin It on Pinterest

Share This