python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Use of @StateObject in Document-based SwiftUI application: getting instances instead of references
I am trying to use a @Stateobject in my document as source of truth for the dataModel behind the document. However, it seems I am doing something wrong as I appear to get different instances for the d...
nonresidentalien
Votes: 0
Answers: 1
Get URL from Open dialog of standard Swift document-based application
I am trying to extract the URL of the document a user has selected in the default "Open" dialogue of my document based macOS application. I understand, a fileWrapper is passed to the init me...
nonresidentalien
Votes: 0
Answers: 5
Store Drawings of PKCanvasView in file
I created a document based app with SwiftUI and a PKCanvasView.
Now I want to save the drawings of the PKCanvasView inside of the file.
How can I do this?
SwiftIsGreat
Votes: 0
Answers: 0