I have an answer here - https://developer.apple.com/forums/thread/664773?page=1#642535022
Post
Replies
Boosts
Views
Activity
I did some searching and found an answer by Paul Hudson. You can use UserDefaults.
@Claude31, is there an easier way to do it? Or do I have to wait until Apple creates an easier way to use Core Data with SwiftUI?
@Claude31, how about the correct answer here - https://developer.apple.com/forums/thread/650876?
@Claude31, this one has the SceneDelegate thing. I think that's for storyboards. I only have ContentView and a bunch of views that I made.
Try removing the semicolon
Try downloading Xcode 12.2 Beta 2 here - https://developer.apple.com/download/
As a followup to @tetiana160's answer, here's the link to the App Store review guidelines - https://developer.apple.com/app-store/review/guidelines/
You can watch WWDC videos here - https://developer.apple.com/videos/. If you have questions related to the videos (e.g. you don't understand something), just ask here and specify the video's ID.
Thanks a lot, @BabyJ!
Thanks for the reply, but it's not that (but thanks for that because it's interesting). I want to do something like the drop down sections or something in Files. They're the "Locations", "Favorites", and "Tags" drop down section things.
Thanks, Frameworks Engineer!
@OOPer, thanks. Lol. I can't believe I didn't notice that 😅
Can you show us your code?
There are answers here - https://stackoverflow.com/questions/56517813/how-to-print-to-xcode-console-in-swiftui