Have you tried the IBM Swift Sandbox?
Every day, we welcome developers from all over the world into the IBM Swift Sandbox. As of June 2016, developers from 133 countries have run more than 1.5 million code samples on this interactive website. The Sandbox enables you to write Swift code and execute it in a Linux server environment. Each instance runs on IBM Cloud in a Docker container.
Some developers come to the Sandbox to learn Swift, while others come to explore Swift on the server. Many of you are sharing your Swift code on sites like Stack Overflow too, making the Sandbox an interactive playground for collaborative debugging of code.
We launched the Sandbox in December 2015; since then there have been a number of improvements. Now, at the request of the community, we’ve added some integration between the Sandbox and the IBM Swift Package Catalog. Keep your ideas coming!
There are now over 1500 Swift packages in the IBM Swift Package Catalog
In February 2016, we launched the IBM Swift Package Catalog, a free community resource for identifying client and server-side Swift packages. We’ve added a number of features since then, including search and the ability to track dependencies between packages. The Swift Package Catalog has grown and now hosts over 1500 packages — all of which are Swift Package Manager compliant.
Swift Package Manager is one of the open source projects at swift.org — it allows developers to create and share packages of Swift code. Swift Package Manager will be released with Swift 3 as an integrated tool within the Swift build system to automate the process of downloading, compiling, and linking dependencies.
Developers can now use the IBM Swift Sandbox to explore Swift packages
If you’re a Swift package owner, you can create sample code showing how to use your package, and in one click users can jump from your package’s page on the catalog to the sandbox, where they can run that code and experiment with it easily.
Until today, you were limited to including examples in your documentation, or requiring users to clone your package from GitHub. Now, it’s quick and easy to show off your package’s features in the interactive environment of the IBM Swift Sandbox.
If you are new to the Sandbox, it’s easy to get started.
We hope you like this new feature and find it useful to both create and share packages with the broader community.