-
How do I use Preferences within SwiftUI app code? The only way I can see is to use Settings with a View.
WindowGroup
{
ContentView()
}
Settings
{
MyCustomSettingsView()
}
-
https://github.com/sindresorhus/KeyboardShortcuts/pull/69
-
Hi,
Do you have an example to make it work with UIKit?
Thanks
-
### Steps to reproduce
1. Just use CupertinoDatePicker
### Expected results
Number of days is correct for each month.
### Actual results
Number of days is always 31.
### Code sample…
-
I'm not sure if this is a bug tbh but I've noticed that @Observable objects are being initialised multiple times.
So this `@State private var viewModel = TimelineViewModel()` for example would call T…
-
| | |
|------------------|-----------------|
|Previous ID | SR-13011 |
|Radar | None |
|Original Reporter | leisurehound…
-
One hallmark of any major GUI framework is strong support for testing. For example:
- React: https://legacy.reactjs.org/docs/testing.html
- SwiftUI: https://www.swiftbysundell.com/articles/writing…
-
From the API docs, `CupertinoListSection` is modeled after the iOS settings screen. However, there seem to be a bunch of fidelity issues when comparing the settings screen and the first example in the…
-
**Describe the bug**
When editing a SwiftUI file, sometimes the callout docs work, and other times they don't. For instance in example code A the only things that have hover docs are `body`, `View`…
-
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See er…