3 ms·
While not perfect. For Swift, I’ve actually doing inițial app development using Swift Playgrounds. I’m even maintaining project that still keeps working as Swi
by rock_artist 2y ago
While not perfect. For Swift, I’ve actually doing inițial app development using Swift Playgrounds.
I’m even maintaining project that still keeps working as Swift Playgrounds.
Here is an open source example of such:
https://github.com/talaviram/OpenSpoken/tree/main/OpenSpokenPlayground.swiftpm https://github.com/talaviram/OpenSpoken/tree/main/OpenSpoken...
But I also have internally a bigger app that is doing similar approach (not open source code though) - https://www.smartercurrency.app https://www.smartercurrency.app
I’ve yet tried and I guess it’s limited for trying to do any ObjC++ / C++ / Metal. But I do believe Apple is using playgrounds as a playground for Xcode successor.
The biggest issue though, is version control (git…) which requires more work to get things properly.
- Kon-Peki 2y ago> I guess it’s limited for trying to do any ObjC++ / C++ / Metal The last time I tried, I couldn't get it to work, except... One of the documented ways of creating compiled Metal kernels is to provide the source code as a string in your Swift code. And that works in Swift Playgrounds. It will compile and run your C++ Metal kernels, but it either works or doesn't. You get no compiler output.