StorageManager alternatives and similar libraries
Based on the "Other Data" category.
Alternatively, view StorageManager alternatives based on common mentions on social networks and blogs.
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of StorageManager or a related project?
FileManager framework that handels Store, fetch, delete and update files in local storage.
- iOS 8.0+ / macOS 10.10+ / tvOS 9.0+ / watchOS 2.0+
- Xcode 10.2+
- Swift 5.0+
CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:
$ gem install cocoapods
CocoaPods 1.1+ is required to build StorageManager.
To integrate StorageManager into your Xcode project using CocoaPods, specify it in your
source 'https://github.com/CocoaPods/Specs.git' platform :ios, '9.0' use_frameworks! target '<Your Target Name>' do pod 'StorageManager' end
Then, run the following command:
$ pod install
Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.
You can install Carthage with Homebrew using the following command:
$ brew update $ brew install carthage
To integrate StorageManager into your Xcode project using Carthage, specify it in your
github "iAmrSalman/StorageManager" ~> 0.1.2
carthage update to build the framework and drag the built
StorageManager.framework into your Xcode project.
Swift Package Manager
The Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the
swift compiler. It is in early development, but StorageManager does support its use on supported platforms.
Once you have your Swift package set up, adding StorageManager as a dependency is as easy as adding it to the
dependencies value of your
dependencies: [ .package(url: "https://github.com/iAmrSalman/StorageManager.git", from: "0.1.2") ]
let exampleDictionary = ["foo": "bar", "x": 3, "pi": 3.1415, "names": ["Amr", "Salman"]] try! StorageManager.default.store(dictionary: exampleDictionary, in: "exampleDictionary")
let exampleArray = ["foo", "bar", "x", "y"] try! StorageManager.default.store(dictionary: exampleArray, in: "exampleArray")
let exampleData = Data() try! StorageManager.default.store(data: exampleData, jsonType: .array, in: "exampleData")
let newX = 5 try! StorageManager.default.update(vlaue: newX, forKey: "x", in: "exampleDictionary")
let x: Int = try! StorageManager.default.singleValue(forKey: "x", in: "exampleDictionary")
let exampleArray: [String] = try! StorageManager.default.arrayValue("exampleArray")
Array as value for key
let names: [String] = try! StorageManager.default.arrayValue(forKey: "names", in: "exampleDictionary")
let exampleDictionary: [String: Any] = try! StorageManager.default.dictionaryValue("exampleDictionary")
Amr Salman, [email protected]
StorageManager is available under the MIT license. See the LICENSE file for more info.
*Note that all licence references and agreements mentioned in the StorageManager README section above are relevant to that project's source code only.