Skip to content

Instantly share code, notes, and snippets.

@nickoneill
Last active November 28, 2015 21:04
Show Gist options
  • Save nickoneill/7c3c8b466ea806c56e6b to your computer and use it in GitHub Desktop.
Save nickoneill/7c3c8b466ea806c56e6b to your computer and use it in GitHub Desktop.
var autopersist: String? {
set {
if let newValue = newValue {
Pantry.pack(newValue, key: "autopersist")
}
}
get {
return Pantry.unpack("autopersist")
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment