Post

Replies

Boosts

Views

Activity

Reply to implementing form behaviour in custom inputs
I get this compiler errors on your iOS 15 example. Static method 'buildBlock' requires that 'Row<EmptyView, Toggle<Text>>' conform to 'View' Static method 'buildBlock' requires that 'Row<Label<Text, Image>, SecureField<Text>>' conform to 'View' Static method 'buildBlock' requires that 'Row<Text, TextField<Text>>' conform to 'View' EDIT: Add View protocol to Row. EDIT: The outcome does not look quite right:
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Oct ’22
Reply to How to add HKQuantity to HKWorkout with WorkoutBuilder
This seems to work, but doesnt populate totalDistance parameter – at least for me. But I can now get the distance from the associated HKQuantitySample. And the spot in the HealthApp is still empty.. (Run: 25 Min. | --) Is that the way to go?
Replies
Boosts
Views
Activity
Mar ’21
Reply to Distance doesnt get associated with HKWorkout
Just noticed that I was not adding the distance samples with a completion handler – and did not waited for completition until I called finishWorkout() on the builder. I think that messed up the workout somehow.
Replies
Boosts
Views
Activity
Apr ’21
Reply to Bad Resize Preformance macOS because of Stacks?
It seems that this is a problem of a multiple forms inside the scrollView which gets resized by window resizing... SwiftUI seems to handle resize of a form / the inputs really bad.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’22
Reply to implementing form behaviour in custom inputs
I get this compiler errors on your iOS 15 example. Static method 'buildBlock' requires that 'Row<EmptyView, Toggle<Text>>' conform to 'View' Static method 'buildBlock' requires that 'Row<Label<Text, Image>, SecureField<Text>>' conform to 'View' Static method 'buildBlock' requires that 'Row<Text, TextField<Text>>' conform to 'View' EDIT: Add View protocol to Row. EDIT: The outcome does not look quite right:
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’22
Reply to Drag Drop on macOS 13: Delay after dropping item
Gif showing the delay:
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Nov ’22