getUserDefault

abstract fun getUserDefault(key: String, type: String): Any?(source)

The value of key in NSUserDefaults.

Some popular key and types are:

  • AppleInterfaceStyle: string

  • AppleAquaColorVariant: integer

  • AppleHighlightColor: string

  • AppleShowScrollBars: string

  • NSNavRecentPlaces: array

  • NSPreferredWebServices: dictionary

  • NSUserDictionaryReplacementItems: array