Member-only story

DEVELOPMENT

Playground Driven Development

How to prototype your app faster than light speed.

Riccardo Cipolleschi

--

Swift Playgrounds are a wonderful thing. They are fast. They allow you to try quickly your code. They allow you to check your UI in a matter of seconds. They can really speed up your development cycle.

This is a brief video of how they can help while prototyping a cell for a collection, for example.

The video is running at 10x. The normal speed duration is around 3 min. The goal of this task is to add some dark shadows behind the image.

The main gain, in this case, is that you can render your view immediately in the playground. You can change small bits and check how they look. Once you are satisfied with the changes, you can take the playground file and move it to the right place.

However, how can we start using playground in our development cycle, now?

Chances are that you are working on a complex application. The application can be composed of different frameworks and potentially it uses also some Pods, leveraging the Cocoapods’ dependency management.

This article guides you to add a playground to your app so that you can prototype your UI and your algorithms faster than ever!

--

--

Riccardo Cipolleschi
Riccardo Cipolleschi

Written by Riccardo Cipolleschi

Hey there, I’m Riccardo. Software engineer at Meta. I have a passion for iOS and I love to share my knowledge with others.

Responses (1)

Write a response