A SwiftUI View for Easily Modifying UserDefaults Values for Debugging.
UserDefaultsEditor | Edit Date | Edit Array |
---|---|---|
UserDefaultsEditor uses the EditValueView for its value modification views. For more information about EditValueView, please visit their GitHub repository.
For displaying the view with a push transition, please set presentationStyle to .push. For modal presentation, select .modal.
UserDefaultsEditor(
userDefaults: .standard,
presentationStyle: .push // or .modal
)