Playgrounds are meant for prototyping, and are an excellent resource for figuring out things like mathematical equations and algorithms with minimal clutter. See how playgrounds work in this video.
- [Instructor] From the welcome screen…or the File menu, you can create what's known…as a Playground in Xcode.…Playgrounds are ideal for prototyping ideas…and enable you to test applications…without having to build and run them manually.…So you can either create one from the welcome screen,…or go to File, New and choose Playground.…For the template, I'm going to choose macOS,…and then simply choose Blank, hit Next,…and then I'm going to save in Exercise Files,…Chapter 02, playground, and then final.…
You could save outside of this folder…if you're following along with the exercise files.…So what I'm going to do here is expand…this to full-screen and let's say I wanted…to run some code.…I can simply click this button…to the left of this line, and then…it runs the application giving me quick feedback.…So there is the value of that variable displayed there.…
But let's say I changed it to something else.…I could then change the value, hit…that button again, and see the new value of the string.…So this is useful for creating prototypes,…
- Installing Xcode
- Creating your first project
- Editing code
- Creating snippets
- Prototyping in playgrounds
- Implementing version control with Git
- Building and connecting the interface
- Compiling and debugging apps in Xcode
- Creating workspaces for sharing resources and code
Skill Level Beginner
1. Getting Started
2. Edit Code
3. Source Control
4. Interface Builder Basics
5. Compile and Debug
Create a workspace2m 51s
Next steps1m 5s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.