spi-playgrounds-releases's People
spi-playgrounds-releases's Issues
Generates Playground with deprecated 'package(name:url:from:)'
The app generates a playground with the deprecated 'package(name:url:from:)'
'package(name:url:from:)'
is deprecated: use package(url:from:)
instead
can the app be update to use package(url:from:)
to remove this warning.
Problem: Images residing in a swift package are not found.
I used SPI-Playgrounds in order to test a swift package residing on GitHub.
I added some code to build an image from images resource of the package, but the image was not found.
Is this a known problem?
[Suggestion] Optionally create a Mac executable instead of a Playground when appropriate.
Hello!
I never was able to make a macOS Swift Playground work reliably. There is always a moment when they only execute if they run automatically, with manual runs only showing a never-ending spinner.
Furthermore, contextual interactions are different than what we get when editing a standard swift file in Xcode. I find iOS playgrounds more stable for some reason, but all of this makes Swift Playgrounds an extremely awkward and brittle environment in my opinion.
This is the kind of failure I just had when trying to text swift-async-algorithm
. As a workaround, I created a SwiftPM Mac executable that provides almost the same functionality as a playground, but it was needlessly convoluted to set up with Xcode: You have to create a swift package, then change the types to executable, then add @main
, and then declare manually the dependency to the package you want to test, as the package and target levels. All of this is straightforward, and if there are maybe command-line arguments to perform the same thing, it is always more cumbersome than having it created automatically.
All of this is not caused by SPI-Playgrounds, which is a very nice tool. I think it would be fantastic if it provided the option to create a mac executable instead of a playground when it's possible (that is when the package supports the .mac
platform).
It is also probable that iOS Playgrounds (the .swiftpm
ones) can be created otherwise, but this can be realized easily enough with Xcode.
Thanks!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.