Swiftpack.co - Package - msalmonse/UserDefaults

UserDefaults

This package includes a property wrapper to access UserDefaults and a function to access Bundle data

Usage:

UserDefaults

   @UserDefault("Autoload", defaultValue: true)
   var autoload: Bool

bundledData()

let version = bundledData(key: "CFBundleShortVersionString")

Github

link
Stars: 1
Help us keep the lights on

Dependencies

Used By

Total: 0