Are you using @StateObject for the user manager in the App struct, which owns the user manager? If not, you should be.
Post
Replies
Boosts
Views
Activity
If you can't add more RAM, using an external SSD is the only thing you can do to improve the Xcode performance. I don't know if it will be enough to make Xcode and the iOS simulator run fast enough for you.
You named your class MapScene, but your newGameScene function returns type GameScene, and your guard let statement casts to GameScene. Either change the name of the class to GameScene or change newGameScene to return MapScene and cast to MapScene in the guard let statement. Also make sure the class name for the scene in the .sks file matches your class name. In the future use a reply to show code because comments do not support Markdown formatting so the code looks like paragraph text.
If you have only one instance of CategoriesViewModel, create a static property for the instance in the CategoriesViewModel class, such as static let shared = CategoriesViewModel(). Fill the categories array for the static instance, shared in the example. The static instance can be used globally, like @Environment. Pass that property everywhere you need to access the categories.
You can have multiple versions of Xcode installed. If you can't install Xcode 13.4 on Ventura, run macOS 12 in a virtual machine and installed Xcode 13.4 there. Otherwise, just give up on supporting iOS 10.3 and support iOS 11+.
PDFKit is more for working with existing PDF files than creating PDFs from scratch. You can check out the PDFKit framework and see if it can help you. Choose Help > Developer Documentation in Xcode. The PDFKit documentation is in the Graphics and Games section of the documentation.
You're asking for help and not supplying any info for anyone to help you. What are the relevant values for the Document Types, Exported Type Identifiers, and Imported Type Identifiers sections? What are the values for the Imported Type Identifier for the CSS file type that you added? Don't answer in a comment. Answer in a reply because comments are limited to 500 characters, and you're going to need more than 500 characters to provide what people need to help you.
You could give the variable an initial value of nil. I used 0 as an example. I'm not sure how well SwiftUI text fields work with nil values so you might run into problems if you set the variable to nil initially. You will have less pain if you use a Double instead of an optional to store the value.
What do you mean by bind the project to the app? Be more specific about what you want to do. Please use replies instead of comments. Apple sends email notifications for replies but not comments. I can respond faster if you reply instead of commenting.
Forget passing the idd. When someone taps the Add button, show a NewNoteView. The NewNoteView would have a button to add a note. When someone taps that button, create a new note and add it to the data manager's notes array.
Why are you focusing so much on ids instead of notes? Is it something Firebase requires? You would have an easier time working with notes instead of ids.
Please use replies instead of comments in the future. Apple sends notifications to me for replies but not comments.
The Mac version of Swift Playgrounds 4 is a minor update from version 3. It does not currently have the iOS version's support for App projects.
No, I did not find a solution.
Sorry, I misread your question. I thought you wanted to add a new document type when you want to create a new document type property.
I can verify that clicking in the "Click here to add additional document type properties" area does nothing in Xcode 13.1. I can add a property if there is an existing document type property, but I can't add the first document type property.
How do I trigger the actual data retrieval? That's my original question.
Thanks. I was using a SwiftUI file exporter to export the document. Apparently the file exporter does not implicitly grant the write permission.