You can publish Mac apps outside the App Store so you wouldn't have to use Xcode 13. If the app is free, you can host the app on your own site and provide a Download button.
A paid app requires more work. You have to find a way to deal with licensing and process payments. Companies like Gumroad, Paddle, and FastSpring will help with this. The following book shows you how to sell software outside the Mac App Store:
https://christiantietze.de/books/make-money-outside-mac-app-store-fastspring/
Post not yet marked as solved
Set the deployment target for the app's target to the earliest iOS version you want to support. Select the project file from the project navigator on the left side of the project window to access the deployment target. If you need more detailed instructions on setting the deployment target, read the following article:
https://www.swiftdevjournal.com/supporting-older-versions-of-ios-and-macos/
UIImage is part of the UIKit framework. You can't stick place an UIImage inside a SwiftUI view.
You used Image twice in your code. Is there a reason you can't use Image to show the SF Symbol? The following code works for me:
Image(systemName: "antenna.radiowaves.left.and.right")
Post not yet marked as solved
@State properties require you to give them an initial value.
@State var test: Double? = 0.0
Post not yet marked as solved
Does your app use UIViewControllerRepresentable? If so, is your data structure that uses UIViewControllerRepresentable a struct or a class?
The error message is saying you have a class that conforms to UIViewControllerRepresentable, and that you have to use a struct instead of a class.
Setting an exception breakpoint in Xcode and running the app can help you find where the app is crashing. Choose Debug > Breakpoints > Create Exception Breakpoint to set an exception breakpoint.
Converting the value to a string using currencyFormatter.string and displaying the string in a Text view worked. Thanks.
Post not yet marked as solved
What is the specific problem you are having? What are you expecting to happen when you tap the Add button and what happens when you tap the Add button?
I looked at your code for the navigation bar items. The navigation link for the Add button passes an empty note to the note view with an empty ID before you have a chance to call addNote and get the new note's ID. You may have to create a new view for adding notes and show that when someone taps the Add button. Add the note when someone taps an Add button in the Add Note view.
Your DataManager class refers to a Note struct or class. Why do you have separate @State properties for the note contents and ID in the NoteView struct instead of a Note instance? Your addNote function could return the note instead of the ID. I think it would be easier to deal with notes than to deal with their individual pieces separately.
Post not yet marked as solved
The book Apple Game Frameworks and Technologies will teach you how to make an iOS game with SpriteKit and GameplayKit. It does require some previous programming knowledge.
https://pragprog.com/titles/tcswift/apple-game-frameworks-and-technologies/
Post not yet marked as solved
You can open an App playground created in Swift Playgrounds in Xcode and work on it there.
The Swift Playgrounds App project template in Xcode is designed to work in both Xcode and Swift Playgrounds. The Swift Playgrounds App project template is in the iOS section of the New Project Assistance.
Post not yet marked as solved
Are you getting this error when running your app in Xcode? If so, you're getting the error because you're running a newer version of tvOS than Xcode 13.1 supports. Xcode 13.1 does not support any versions of tvOS newer than 15.2.
You have two options: update Xcode to Xcode 13.3 or 13.4 or downgrade to tvOS 15.2. I'm not sure if it's possible to downgrade to an older version of tvOS.
If you are still getting the error after updating Xcode, you will have to show your code to load the storyboard from the app bundle and show the layout of your app bundle for anyone to help you.
Are you sure the storyboard is in the app bundle? Is the storyboard in the app bundle location where the storyboard loading code is expecting it?
Is this for iOS or Mac?
For Mac I can answer. In Xcode choose File > New > File and add a RTF file to your project. Name the file Credits.rtf. Edit the files with what you want to appear in the About box. You can find additional information in the following article:
https://www.swiftdevjournal.com/customizing-the-about-box-in-your-mac-app/
You do not need a paid developer account to develop Mac apps for personal use. You need a paid account to do the following:
Submit an app to the Mac App Store
Use Apple capabilities like iCloud and Game Center
Sign and notarize your app with a developer ID to work with Apple's Gatekeeper feature
Gatekeeper makes it painful to open apps that aren't notarized. Without a paid developer account you won't be able to notarize your apps. Your options are to rebuild the apps periodically or bypass Gatekeeper. The following article shows how to bypass Gatekeeper for a single app:
https://disable-gatekeeper.github.io
Post not yet marked as solved
The fileOpenDialog function returns an array of optional URLs. What does that function return when you call it? The following line is going to crash if the array is empty:
var csvURLString = fileOpenDialog()[0]?.path
SwiftUI has a fileImporter modifier that shows an Open panel so you can avoid using NSOpenPanel. Searching for swiftui fileimporter in a search engine brings up several articles on using the file importer. If you still want to use NSOpenPanel with SwiftUI, the following article may help you:
https://serialcoder.dev/text-tutorials/macos-tutorials/save-and-open-panels-in-swiftui-based-macos-apps/
Check Meetup for local developers groups.
I found the Buckeye Cocoa Meetup group in Columbus.
https://www.meetup.com/Buckeye-Cocoa
I also found Cincinnati CocoaHeads.
https://www.meetup.com/CincyCocoaDev/
Post not yet marked as solved
You can't sign up for the paid Apple Developer Program if you are under 18.
To register for free as an Apple developer, take the following steps:
Go to Apple's Developer home page.
Click the Account link at the top of the page.
Sign in with your Apple ID.