Relative Content

Tag Archive for swiftmacosswiftui

How make ScrollView dragable with drag in macOS SwiftUI?

I have a scrollview in macOS SwiftUI, it is scrollable just with scrolling on the view, how ever I am unable to scroll with mouse drag, dragging up or down does not make scrollview scrolled. Should I enable some option to be able to do this? I think in past I had no issue with this, and maybe it is a new thing.

Reproduce apple macos calendar horizontal scroll

I am trying to reproduce the macos apple calendar but I’m having issues making the horizontal infinite scroll. The calendar needs to display 7 days at all times meaning that the user can’t scroll at any position

NavigationSplitView highlights multiple options

I’m trying to use a Navigation Split View 2 column approach for an app that I’m deploying to MacOS. When I have multiple NavigationLink’s with the same value, all of them end up getting highlighted when one is selected.