Files
RSSuper/tasks/native-business-logic-migration/27-implement-ios-settings-store.md
Michael Freno d346b527e6
Some checks failed
CI - Multi-Platform Native / Build iOS (RSSuper) (push) Has been cancelled
CI - Multi-Platform Native / Build macOS (push) Has been cancelled
CI - Multi-Platform Native / Build Android (push) Has been cancelled
CI - Multi-Platform Native / Build Linux (push) Has been cancelled
CI - Multi-Platform Native / Build Summary (push) Has been cancelled
migration start
2026-03-29 14:12:17 -04:00

907 B

27. Implement iOS settings/preferences store

meta: id: native-business-logic-migration-27 feature: native-business-logic-migration priority: P1 depends_on: [native-business-logic-migration-15] tags: [implementation, ios, settings]

objective:

  • Implement settings store using UserDefaults and App Group

deliverables:

  • SettingsStore.swift
  • AppSettings.swift
  • ReadingPreferences.swift
  • NotificationPreferences.swift
  • Settings migration

tests:

  • Unit: Test property storage/retrieval
  • Unit: Test defaults
  • Unit: Test synchronization

acceptance_criteria:

  • All settings persisted
  • Defaults properly set
  • Changes observed in real-time
  • App Group sync working
  • Settings migrated between versions

validation:

  • Run unit tests
  • Test with Xcode preferences inspector

notes:

  • Use UserDefaults for simple settings
  • Use App Group for shared settings
  • Observe changes with notifications