Riley Testut
2ead48ad40
[Features] Supports dynamic @Option values that may change over time
...
Uses @autoclosure to keep call site the same, but allows a single picker @Option to show different values depending on other factors (e.g. other @Options).
2023-04-28 15:42:11 -05:00
Riley Testut
39522fda58
[Experimental Feature] Supports AirPlay controller skins
...
Allows users to customize controller skin when AirPlaying games to an external display.
2023-04-27 14:58:51 -05:00
Riley Testut
7ad5df1949
[Features] Fixes potential crash when handling .settingsDidChange Notification
...
Handling .settingsDidChange notification in the same run loop as changing an @Option’s value can result in exclusive memory access violation due to accessing Option.settingsKey. As a workaround, we delay posting the notification until a later run loop via Task.
2023-04-25 15:14:16 -05:00
Riley Testut
5b4f9ea593
[Features] Removes redundant public access modifier from SettingsUserInfoKey constants
2023-04-21 13:43:24 -05:00
Riley Testut
ef47d78c64
[Features] Adds displayInline(_:) View modifier
...
Controls whether @Option detailView will be displayed inline in the Feature detail view in Delta’s settings, or as a full-screen view that’s pushed onto navigation stack when tapped.
2023-04-14 18:23:34 -05:00
Riley Testut
9f40223e6c
[Features] Provides default toggle view for Bool @Options
2023-04-14 18:15:26 -05:00
Riley Testut
6d95924145
[Features] Provides default picker view for @Options with pre-set values
...
To use, pass in a collection of values to `values` parameter in @Option initializer.
2023-04-14 18:10:55 -05:00
Riley Testut
240b74de94
[Features] Supports user-facing @Options with custom SwiftUI views
...
@Options with non-nil names will be exposed in Delta’s settings and can be configured by users via provided SwiftUI view.
2023-04-14 16:41:16 -05:00
Riley Testut
4d30ef2929
[Features] Supports @Feature-specific settings via @Option property wrapper
2023-04-14 16:17:31 -05:00
Riley Testut
415450a943
[Features] Adds UserDefaults+OptionValues to read/write arbitrary OptionValues
2023-04-14 15:38:19 -05:00
Riley Testut
80a9132ff5
[Features] Adds OptionValue + LocalizedOptionValue
2023-04-13 17:22:18 -05:00
Riley Testut
d613cc9ad7
[Features] Adds @Feature property wrapper
...
Simplifies defining feature flags that can enabled + disabled via UserDefaults.
2023-04-13 16:20:54 -05:00
Riley Testut
3fb7e8b4b7
[Features] Moves Notification.Name.settingsDidChange to DeltaFeatures
...
Re-exports as Settings.didChangeNotification to allow accessing without explicitly importing DeltaFeatures.
2023-04-13 15:57:25 -05:00
Riley Testut
9406cfe6cc
[Features] Moves Settings.Name + Settings.NotificationUserInfoKey to DeltaFeatures
...
Also refactors from enums to RawRepresentable structs to support arbitrary values.
2023-04-13 15:43:43 -05:00
Riley Testut
c3af9f7209
[Features] Adds DeltaFeatures target
2023-04-13 15:08:17 -05:00