Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.
This repository was archived by the owner on May 28, 2025. It is now read-only.

NSUserDefaults writes to CSIDL_APPDATA folder, which roams on windows #1167

@rajsesh

Description

@rajsesh

The expectation is that NSUserDefaults does not roam. "Roaming" settings are usually handled through NSUbiquitousKeyValueStore, which we don't support right now.

A trade off would be to:

  1. NSUserDefaults to always go to local data.
  2. For roaming the settings, use CFPreferences directly and specify kCFPreferencesAnyHost for hostName.
    All other host names will be local only.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions