Latest 0.5.0
Homepage https://github.com/Ge3kx/XBaseStorage
License MIT
Platforms ios 8.0
Dependencies KeychainAccess, RealmSwift
Authors

CI Status
Version
License
Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

XBaseStorage is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'XBaseStorage'

说明

Cache:

  • AbstractMemoryCacheManager:抽象内存缓存类、使用时要继承该类、重写过期方法

  • GlobalMemoryCacheManager:单例、全局内存缓存类,可以直接使用

  • ScavengerManager:清理工具类,可以添加具体清理Handler,统一处理

DataBase:

  • DatabaseManager:数据库管理类,单例、包含curd操作

  • DatabaseMigrator:数据库迁移工具类,单例、项目中只要有任何模型修改,都需要修改版本号,然后在迁移方法中具体操作,在Appdelegate中调用

  • DatabaseModels:realm数据库模型demo

Keychain:

  • KeychainManager:Keychain工具类

SandBox:

  • SandBox:沙盒工具、创建文件夹、获取路径等

Author

Poly.ma, [email protected]

License

XBaseStorage is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "XBaseStorage",
    "version": "0.5.0",
    "summary": "A short description of XBaseStorage.",
    "description": "TODO: Add long description of the pod here.",
    "homepage": "https://github.com/Ge3kx/XBaseStorage",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Poly.ma": "[email protected]"
    },
    "source": {
        "git": "https://github.com/Ge3kx/XBaseStorage.git",
        "tag": "0.5.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "XBaseStorage/Classes/**/*",
    "dependencies": {
        "KeychainAccess": [],
        "RealmSwift": []
    }
}

Pin It on Pinterest

Share This