Playing with playgrounds

827 views

Published on

0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
827
On SlideShare
0
From Embeds
0
Number of Embeds
443
Actions
Shares
0
Downloads
4
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Playing with playgrounds

  1. 1. Playing with Playgrounds eurico@phybbit.com
  2. 2. Overview • Introduction • Interface • Quick Look • Value History • Opinion
  3. 3. Introduction • Comes bundled with Xcode6 • Supports Swift for iOS and OSX • (Almost) no need for project configuration
  4. 4. Introduction • Playground is like a shell-interpreter but more convenient ! • Swift REPL (xcrun swift) ! • Playgrounds
  5. 5. Interface • Text editor
  6. 6. Interface • Quick look
  7. 7. Interface • Value History
  8. 8. Quick Look • Almost all basic types have either a quick look support • Or, they are displayed the same way they are in the debugger
  9. 9. Value History • Visualize how values changed over time • Example: implement a couple of tweening functions
  10. 10. Opinion • Good: • Quick Look & Value History • Quick start, no setup • Easy learning curve • Not so good: • Xcode6 crashes a lot… (still in beta) • No user input • Slow • iOS playgrounds seems to be much less robust than OSX
  11. 11. eurico@phybbit.com Thank you! Questions? ! Reference: https://developer.apple.com/videos/wwdc/2014/

×