Skip to content
Discussion options

You must be logged in to vote

You can certainly create a shared package that you can use from multiple app targets. In fact, this is the way we encourage Skip to be used: many separate modules that are each individually testable.

How you proceed with this will depend on your app's architecture and whether you plan to use native Skip Fuse or transpiled Skip Lite. One good starting point might be the Skip Motion example (https://skip.tools/docs/modules/skip-motion/), which is a shared SwiftPM module that exports a SwiftUI view that allows you to play Lottie animations. It supports bridging, so it can be used in either a Skip Lite app (like https://github.com/skiptools/skipapp-showcase/blob/main/Sources/Showcase/LottiePl…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by marcprux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants