Skip to content

Instantly share code, notes, and snippets.

@nafferro
Created February 11, 2019 14:45
Show Gist options
  • Select an option

  • Save nafferro/2da661df6026653112552940542fbb2f to your computer and use it in GitHub Desktop.

Select an option

Save nafferro/2da661df6026653112552940542fbb2f to your computer and use it in GitHub Desktop.
For getting all keys & values from UserDefaults
for (key, value) in UserDefaults.standard.dictionaryRepresentation() {
print("\(key) = \(value) \n")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment