Post

Replies

Boosts

Views

Activity

Recreating the Xcode style value input
Hi all, Total SwiftUI beginner here. I'd like to create a prototype that copies the Xcode style value input field in a Mac app. By 'Xcode style' I mean: Hovering on the field changes the cursor to the left-right arrows You can scrub the value with the mouse by clicking and dragging left/right If you click without dragging, the field gets focus and you can enter a number Can anyone provide any advice on where to start with this? Or even better, let me know if you've seen any examples that might be able to help me learn how to approach this. Many thanks! Matt
2
0
363
Aug ’23