Playground Secrets and Power Tips Playground Secrets and Power Tips
Swift. Slowly.

Playground Secrets and Power Tips

    • 4.2 • 23 Ratings
    • $19.99
    • $19.99

Publisher Description

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.

GENRE
Computers & Internet
RELEASED
2015
April 6
LANGUAGE
EN
English
LENGTH
160
Pages
PUBLISHER
Erica Sadun
SELLER
Erica Sadun
SIZE
13.3
MB

Customer Reviews

endodug ,

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.

Élias de Kelliwic’h ,

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.

PunkerB ,

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.

More Books Like This

Swift Playgrounds in the Classroom Swift Playgrounds in the Classroom
2017
Xcode Academy Xcode Academy
2013
Swift Development with Cocoa Swift Development with Cocoa
2014
Sams Teach Yourself Xcode 4 in 24 Hours Sams Teach Yourself Xcode 4 in 24 Hours
2012
Apple Swift Playgrounds: Learning the Basics Apple Swift Playgrounds: Learning the Basics
2016
Hacking with Swift Hacking with Swift
2016

More Books by Erica Sadun

Swift Documentation Markup Swift Documentation Markup
2015
Paradox Paradox
2015
Swift From Two to Three Swift From Two to Three
2016
The Core iOS 6 Developer's Cookbook, 4/e The Core iOS 6 Developer's Cookbook, 4/e
2012
iOS Drawing: Practical UIKit Solutions iOS Drawing: Practical UIKit Solutions
2013
The Swift Developer's Cookbook The Swift Developer's Cookbook
2015

Customers Also Bought

Accelerate Accelerate
2018
Develop in Swift AP CS Principles Develop in Swift AP CS Principles
2020
Develop in Swift Explorations Develop in Swift Explorations
2020
Develop in Swift Fundamentals Develop in Swift Fundamentals
2020

Other Books in This Series

Swift Documentation Markup Swift Documentation Markup
2015
Swift From Two to Three Swift From Two to Three
2016