Opening the iTunes Store.If iTunes doesn't open, click the iTunes application icon in your Dock or on your Windows desktop.Progress Indicator
Opening Apple Books.If Apple Books doesn't open, click the Books app in your Dock.Progress Indicator

iTunes is the world's easiest way to organize and add to your digital media collection.

We are unable to find iTunes on your computer. To download from the iTunes Store, get iTunes now.

Already have iTunes? Click I Have iTunes to open it now.

I Have iTunes Free Download

Playground Secrets and Power Tips

Swift. Slowly.

This book can be downloaded and read in Apple Books on your Mac or iOS device.


Playgrounds are an essential Swift development tool. They offer interactive environments where you develop and test code, a little at a time. In playgrounds, you determine if and how well your routines work. You investigate the results your code produces. You tweak, you test, you explore. 

Once you start using playgrounds, you'll wish they existed for Objective-C. Playgrounds provide instant gratification for every line of code you type. Imagine creating fully operational code elements in just a few lines. You see APIs, functions, and methods spring to life, ready for testing and refinement. Apple has invested a lot of work into making these environments a fantastic touch point for language development support.

Swift playgrounds create platforms for learning Swift language specifics. With their instantaneous feedback, you focus on building a class, learning an API, or perfecting a line of code without having to commit to an entire project at once. Playgrounds aren't toys. They build real-world views, preview graphics, video, and audio using real-world Swift code. With a little cleverness, you can even deploy code to the iOS simulator.
Playgrounds create the perfect solution for hit and run coding. They allow you to explore an API or develop a routine without tying yourself into full application development. Instead, they offer focused building environments. You experiment with just those features you need to, creating clarity of purpose and a minimum of expended effort.

With the introduction of rich-text documentation tools, there's even more you can do with playgrounds. Playgrounds offer the potential for developers to talk to other developers and teachers to talk to CS students beyond the scope of web pages, PDF files, and even ebooks. You see a little of this promise in iBooks but the language there is JavaScript and HTML and the tools aren't geared at a programmer audience for production or consumption. Playground documents offer a magical combination of interactivity and exploration.

Playgrounds don't just document an API or an algorithm. They demonstrate how these features work, allowing their audience to tweak parameter and provide a live working sample that can be ported to app implementation or get ingrained into the brain for that all important final exam. Playgrounds enable you to mix the purely technical with the pedagogical.

There is much to playgrounds that is simple and obvious. There's even more that's powerful and loaded with potential. This short book discusses playground techniques both plain and advanced that will boost your development power.

You start by learning to create playgrounds and explore their built-in features. You read about accessing built-in documentation, customizing the workspace, and pushing the built-in editing features to their limits. You also discover how playground execution works and how you can build asynchronous routines that keep working after the last line of code.

Playground Secrets and Power Tips pushes beyond the basics to expose the hidden power of the Swift playground. Let bestselling tech author Erica Sadun guide you through this new, exciting tool.

Customer Reviews

It’s ok

The table of content is barely good: no way to find what you want as there are only generic top level chapters. Most of the book is trivial stuff like “you should write good documentation. When you write documentation it should be short and concise”. Ok Thanks.

Not worth $20 for sure. $10 would be a fairer price for what you get.
$20 is the price tag of any book about advanced topics like on pragprog or oreilly.

The Best Way to Maximize Your Swift Playgrounds

This book is essential if you spend any time using Playgrounds. Chapter 7 - Power Tips is reason enough to get this book, but your getting much more. I love the chapter about Documenting and can’t wait to put together some amazing playgrounds.

Fun book for amazing tool

Playgrounds is still an underutilized tool in most developers toolbox, and this book helped me realize the potential of time and ease I can reduce my coding.

Something as simple as fine tuning and playing with API calls and the return JSON reduces debugging time 10 fold. No more rebuild/relaunch in the simulator for each little change.

Other Books in This Series

Playground Secrets and Power Tips
View in iTunes
  • $19.99
  • Available on iPhone, iPad, iPod touch, and Mac.
  • Category: Programming
  • Published: Apr 06, 2015
  • Publisher: Erica Sadun
  • Seller: Erica Sadun
  • Print Length: 160 Pages
  • Language: English
  • Series: Swift. Slowly.
  • Requirements: This book can only be viewed on an iOS device with Apple Books on iOS 12 or later, iBooks 1.3.1 or later and iOS 4.3.3 or later, or a Mac with iBooks 1.0 or later and OS X 10.9 or later.

Customer Ratings