Environment: Mac mini M1; and
iPhone 6s Plus, etc.
macOS 11+, iOS 14+
I'm using SwiftUI/Combine Frameworks versus Storyboard.
Scenario: I have an iOS application that I want to expand into a macOS sister application;
and probably add more functionality too.
I assume that 'Mac Catalyst' is an option on the iOS side to map it to the macOS environment without hassle with the code.
I also assume that from this baseline, I could create a macOS target and share common code between the two and add compiler directives to separate the macOS & iOS specifics.
Am I correct?