Latest 0.1.0
Homepage https://github.com/liuchungui/BGSession
License MIT
Platforms ios 7.0, requires ARC
Authors

Build Status
codecov.io

BGSession is a lightweight local data storage, it can automatically synchronize their attributes value to NSUserDefaults.

Install

source 'https://github.com/CocoaPods/Specs.git'
pod 'BGSession'

Usage

Only need to inherit the BGSession, and then add the corresponding property.

Example:

    DemoSession *session = [DemoSession sharedSession];
    session.userName = @"Jack";
    session.userId = @"1";
    session.firstTimeUse = YES;
    session.cityLng = 138.88383384;
    session.cityLat = 63.8484848;
    session.cityId = @1838;

Latest podspec

{
    "name": "BGSession",
    "version": "0.1.0",
    "license": "MIT",
    "summary": "BGSession is a lightweight local data storage in one case, it can automatically synchronize their attributes value to NSUserDefaults.",
    "homepage": "https://github.com/liuchungui/BGSession",
    "authors": {
        "liuchungui": "[email protected]"
    },
    "source": {
        "git": "https://github.com/liuchungui/BGSession.git",
        "tag": "0.1.0"
    },
    "source_files": "BGSession/*",
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true
}

Pin It on Pinterest

Share This