View our current server-side Swift resources and read the deprecation announcement for Swift Sandbox and Package Catalog.

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.

Screen Shot 2016-06-10 at 14.41.33

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.

Screen Shot 2016-06-10 at 14.34.03

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.

We’ve added samples for several of our own Swift packages so you can try them out. Have a look at Helium Logger, BlueCryptor and SwiftyJSON to see the new features in action.

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.

2 comments on"Try out Swift packages in the IBM Swift Sandbox"

  1. […] Tools for Swift: A Step-by-Step Guide to Getting Started – Try out Swift packages in the IBM Swift Sandbox – Read the July Mobile […]

  2. […] integrating some features between the two. Check out the latest on these Swift@IBM tools in this blog. When it comes to end-to-end development the Kitura web framework has been enhanced with some great […]

Join The Discussion

Your email address will not be published. Required fields are marked *