nef Playgrounds for iPad 1.1 is now available
- by Tomás Ruiz López
- August 04, 2020
- swift• functional programming• bow
- 2 minutes to read.
Just two months ago, we released nef Playgrounds–an iPad application that, together with its corresponding backend, showcases the functional ecosystem that we have been building around Swift and Bow. We have been playing with it a lot, and, at the same time, trying to make it easier for you to access our libraries on your iPad.
The app already includes our libraries Bow and Bow Arch as featured recipes that you can generate and start playing with. You can also duplicate these recipes and add your favorite ones from a simple search on GitHub. But we wanted to move a step further in this direction and make it even easier to load your own libraries and repositories on your iPad. Do you want to know how? Keep reading below!
nef Playgrounds 1.1 includes deep linking mechanisms; this allows us to create URLs with metadata that our application can respond to. With these links, we can navigate from any nef URL into the app, create a recipe with a selected dependency, and generate a Swift Playground out of it. It turns out that, because most of these actions already existed in our architecture, thanks to Bow Arch, it was really simple to implement!
Creating your nef URLs
At this point, you may be wondering, “How can I create a nef URL with the details of my repository?” These URLs are complex to write, as they require a lot of parameters. Doing it manually is an error prone task. That’s why we released a small site at badge.bow-swift.io, where you only have to type the URL of your GitHub repository and select a tag or branch, and it will provide you the HTML content for our brand new nef badge! This badge will include a link with the nef URL to deep link into our app. You can copy and paste the HTML content into the README of your repository, and users will be able to jump from your repo to a Swift Playground on their iPads in a matter of minutes!
Get it now!
nef Playgrounds 1.1 is now available in the App Store. It also includes some enhancements from user feedback, both on the frontend and backend side. We would be happy to hear from you, so feel free to contact us if you have any feedback from your usage.
Please check out the following Bow resources. Comments and questions are welcome and encouraged!
Bow is proudly sponsored by 47 Degrees, a Functional Programming consultancy with a focus on the Scala, Kotlin, Swift, and Haskell Programming languages supporting the active development of Bow.