Post

Replies

Boosts

Views

Activity

Reply to Can we use third-party Swift Packages in our App Playground?
Hey! I'm also also participating in the Swift Student Challenge and would like to use a third-party service. Whilst initially I added it as a package (using Swift Playgrounds), I've then looked into files and seen that the only reference that package has is a dependency link: dependencies: [ .package(url: "https://github.com/simibac/ConfettiSwiftUI", "1.0.1"..<"2.0.0") ], which seems that it indeed needs a network connection to resolve the package. What I ended up doing was including the source file from the GitHub repository (MIT Licensed) with credits and links. Best of luck on your app!
Apr ’23
Reply to Can we use third-party Swift Packages in our App Playground?
Hey! I'm also also participating in the Swift Student Challenge and would like to use a third-party service. Whilst initially I added it as a package (using Swift Playgrounds), I've then looked into files and seen that the only reference that package has is a dependency link: dependencies: [ .package(url: "https://github.com/simibac/ConfettiSwiftUI", "1.0.1"..<"2.0.0") ], which seems that it indeed needs a network connection to resolve the package. What I ended up doing was including the source file from the GitHub repository (MIT Licensed) with credits and links. Best of luck on your app!
Replies
Boosts
Views
Activity
Apr ’23