How to make reusable SwiftUI code using frameworks

Learn how to modularise a SwiftUI based framework for iOS

This is an update to my original post Reusing code with Swift frameworks. The original post showed how to reuse UIKit based code packaged as a framework. Since then Apple has introduced SwiftUI and this post will show you how to reuse your