Join Bill Weinman for an in-depth discussion in this video Using the exercise files, part of iOS 6: iOS System Resources.
The exercise files are designed for you to follow along with the lessons as I present them. You'll need to copy the ExerciseFiles folder to a location on your machine where you can use it, for example, on your desktop. Here in the ExerciseFiles folder, you'll find a folder for each of the chapters in the course. Most of the content in this course involves complete Xcode projects. Each Xcode project is contained in its own folder. For each lesson, you'll make a working copy of the entire Xcode project folder. That way, if you need to start over, you'll have the original files available to make another working copy.
It's simple to make a copy of a folder in OS X. Just hold down the Option key while you drag the folder to an empty space in the Finder window. Then you can press Return or Enter on your keyboard and edit the name of the folder. When you are done with the working copy, you can press Cmd+Delete to send it to the trash. Some of the projects also use one or more text files. I strongly suggest that you use a good text editor to open these files. TextWrangler from Bare Bones Software is an excellent editor.
It's available for free in the apps store or from the Bare Bones website. Please do not use the text edit app that comes with OS X. It is not suitable for this purpose. Some of the projects in this course will not run in the iOS simulator that comes with Xcode, as it does not support or simulate the necessary hardware for the features being demonstrated. In these cases I demonstrate the app using one of my own iOS devices. I use a reflector that mirrors the screen of an iOS device over airplay in order to show you the screen of my iOS device.
Simply connect your own iOS device to your Mac USB port and it will work just fine. The exercise files are designed for you to follow along with the lessons as I present them. Of course, you're always welcome to create your own iOS projects for a more personalized learning experience.
- Preparing your app for internationalization
- Localizing strings and images
- Taking photos or video with the camera
- Reading records from the Address Book
- Registering a custom URL scheme
- Getting a device's location
- Reading raw motion data
- Posting to a specific social media outlet
- Sending messages with the Message UI framework
Skill Level Intermediate
Q: Why is my Localizable.strings file not working?
<div>A: The method described in the lesson "Localizing strings" requires that your strings file be named like this:</div> <div> </div> <div>Localizable.strings</div> <div> </div> <div>This is a special filename in iOS and it must be spelled exactly as shown, including the capitalization.</div>