Join Todd Perkins for an in-depth discussion in this video Using the exercise files, part of Programming for Non-Programmers with iOS 9 and Swift.
- [Instructor] The exercise files for this course are organized by chapters. For each chapter, there is a chapter folder, and each chapter folder contains subfolders with the projects that we work on according to each movie. When the movie starts, if there are exercise files to start out with, you're going to see the name of the file to open on your screen. For example, if you're working in the chapter two connecting movie, the prompt will tell you to navigate into the start folder here, and here you can drill down into the subfolder of the project name, and then you want to double-click the file called Xcode project, the .xcodeproj file.
So this file you can actually double-click to open up in Xcode. When you open up the file, you may see this warning. Xcode wants to convert the product to the latest Swift syntax. This course was initially recorded using Xcode 7 and Swift 2. Since then, Xcode 8 and Swift 3 have launched. In order to follow along and have all of the code that you type run in Xcode as you see it running on my screen in the course, you'll need to wait to convert the project.
So you can click Later, and then you're going to be asked to confirm that. You can click Later again. If you do that, then all of the code should run properly throughout the entire course. If you don't have the exercise files, you can still follow along too. Note that we're going to be creating everything in this course from scratch, so you won't need anything coming in. You won't need to bring in any assets or anything. We're going to use assets that are provided by Xcode so you'll be able to follow along just fine, and I'll make sure to point out whenever I'm starting in a project that has something in it already so you can follow along as well.
If you find you'd like to learn more, see iOS App Development Essential Training, Foundations of Programming: Fundamentals, or any of the other programming courses in our library.
- Installing Xcode
- Creating an Xcode project
- Configuring the iOS Simulator
- Understanding variables
- Connecting visual objects to variables
- Understanding functions, methods, and selectors
- Connecting a button to a method
- Using conditional statements
- Setting up the user interface
- Connecting code elements to build an app