An open API service indexing awesome lists of open source software.

https://github.com/expdev07/ebsystemstorage

Easy way to save small pieces of code in your application!
https://github.com/expdev07/ebsystemstorage

Last synced: about 1 year ago
JSON representation

Easy way to save small pieces of code in your application!

Awesome Lists containing this project

README

          

# EBSystemStorage
Easy way to save small pieces of code in your application! This is designed for Swift :D

#Save Data
```
let system = EBSystemStorage()
system.accessKey = "UseThisKeyToAccessThisObject"
let name = "Fido"
system.saveObject(name)
```

#Fetch Data
```
let system = EBSystemStorage()
system.accessKey = "UseThisKeyToAccessThisObject"
system.requestAccess()
```

#Display Data
```
class ViewController: UIViewController {

@IBOutlet weak var name : UILabel!

override func viewDidLoad() {
super.viewDidLoad()

let system = EBSystemStorage()
system.accessKey = "UseThisKeyToAccessThisObject"
system.requestAccess()
name.text = system.result as? String
}
}
```
#Remove Data
```
let system = EBSystemStorage()
system.accessKey = "SomeRandomKey"
system.removeObject()
```

#More Information
- You can create as many instances of EBSystemStorage as you want! This will help you save more data.