Can I use Menu/Picker Views inline with Text Views in SwiftUI?
I’m trying to create a view that displays text in the same way that a “Text” view does (with correct line wrapping and spacing) the one difference is given words are clickable and produce a dropdown like the “Menu” View.
Swift onChange event of FamilyActivityPicker not firing
I’m playing around with some swift development for the first time in quite a few years and the language has changed some what with swiftui. I’ve been following a few different tutorials and I think I might be muddling up some ways of doing things.
Swift onChange event of FamilyActivityPicker not firing
I’m playing around with some swift development for the first time in quite a few years and the language has changed some what with swiftui. I’ve been following a few different tutorials and I think I might be muddling up some ways of doing things.
EnvironmentObject not injected for .navigationDestination
Consider code
EnvironmentObject not injected for .navigationDestination
Consider code
How to set axis order in AxisMarks in SwiftUI Chart view
My app displays a chart using LineMarks. I want my Y axis to have at the bottom 0, and at the top 15. Like this: Correct Y axis
This works fine unless all the values are 0, in which case the Y axis is inversed: Inversed Y axis
Why does Xcode throw a “folder doesn’t exist” error when recreating a deleted iCloud directory?
I have a SwiftUI app that successfully creates a file in an iCloud container. However, after manually deleting the Documents folder from the container, trying to recreate the file causes an error:
Sheet `Implicitly Unwrapped Optional`
How come the sheet throws an Implicitly Unwrapped Optional
error when the button is pressed?
To me it looks like I’m assigning selectedNumber
to i
and then using it in the sheet, is there a step I’m missing where selectedNumber
is reset to nil?
SwiftUI: Purpose of Hashable, when object is identifiable?
I have seen this code in one of Paul Hudson’s videos. Only member accessable, but here’s the corresponding text: Coding challenge
SwiftUI: Purpose of Hashable, when object is identifiable?
I have seen this code in one of Paul Hudson’s videos. Only member accessable, but here’s the corresponding text: Coding challenge