Swiftpack.co - Package - 0xLeif/UDLoader

UDLoader

UserDefaults & Later

Example

// Save Codable Value
SimpleCodableObject(string: "UDLoader", bool: false, int: 3).save(withKey: "simple")

// Load Codable Value
SimpleCodableObject.load(withKey: "simple")
    .whenSuccess { value in
    // ...
}

Github

link
Stars: 1

Dependencies

Used By

Total: 0

Releases

Save & Load Codable Values - 2020-09-03 22:59:56

// Save Codable Value
SimpleCodableObject(string: "UDLoader", bool: false, int: 3).save(withKey: "simple")

// Load Codable Value
SimpleCodableObject.load(withKey: "simple")
    .whenSuccess { value in
    // ...
}