Two questions about the gauge control mentioned In the what’s new in SwiftUI presentation. I tried creating a multi platform app and including a gauge, but it doesn’t seem to compile. Is that control just not present in b1?
also, will the gauge be editable? In other words, will the user be able to change the value of the bound parameter by clicking to tapping and dragging the control?
thanks in advance!
Post
Replies
Boosts
Views
Activity
I’m loving the SwiftUI 2.0 stuff, but I have a couple of questions.
First , I created a new project using the multi platform template. On iPad, the sidebar seems to work as I would expect, but I thought I saw in the presentation that I can have a sidebar in the macOS app as part of the template, but I don’t see that in the built app. I don’t see anyplace where the sidebar is explicitly added for iPad, so I’m wondering what I’m missing that’s preventing it from showing up in macOS. I’m seeing a full window textEditor, but the video seems clearly to be showing a default window with a sidebar.
second question- i haven’t seen any documentation on how to MODIFY the sidebar. Can anyone point me to that? I’m looking to add additional categories to the sidebar for documents that are coming from coredata in addition to the files that are stored, but I’m sure there are other use cases for modifying the sidebar in addition to this.
thanks in advance!
My main use case is that I have one data source that is obviously user data, and another data source that’s refereence materials shared by all users (but only a few users can mutate).
any insights would be greatly appreciated.