Automatically run Swift code when your framework gets initialized
In this blog post, you'll learn how you can create a framework that executes code automatically when the framework gets initialized as part of the app startup. This can be useful for frameworks that want to run code without requiring the app develope...
blog.eidinger.info2 min read
Stijn Willems
Did you ever find a was to do a this with a swift package library? You cannot have mixed targets there. I'm thinking of using this github.com/bscothern/Once with some other still to define way of working. Do you have a recommended approach?