The Xcode debugger is a tool to help you solve bugs and find problems in your applications. This movie demonstrates the basics of working with the Xcode 7 debugger. One of the features covered is breakpoints, which allow you to pause your application while it is running to check the values of variables. Another feature covered is how to navigate through a stopped application.
- [Voiceover] With the debugger in Xcode,…you can solve problems in your applications,…so let's look at how it works.…Now here I have a very simple app, that doesn't do much.…It's just here for the purpose of showing you…how to debug code, so I define a number,…and then I set it equal to the value returned by countThings…so countThings just define some variables,…and runs through a loop and returns the value,…so then I'm printing out 15 divided by…the number returned from countThings,…so at this point, if we just build the application…with cmd + b, or Product, Build.…
You'll see build succeeded, so the compiler…is not mad at anything we're doing, compiler's fine with it,…so let's run the app and see what actually happens,…so when I run the app, the app stops on line 17,…and we get this message that says…Thread 1: EXC_BAD_INSTRUCTION,…so this doesn't give us any details about what's wrong,…it just makes us feel bad that we broke something,…so how do we actually find out what went wrong,…and fix those problems in our app?…
Interested in developing for Apple Watch or Apple TV? Get a sneak peek in Chapter 9. The course wraps up with a look at the submission process for the App Store.
- Installing Xcode and the iOS SDK
- Creating a simple iOS app
- Creating a basic interaction with a button
- Choosing an object as a first responder
- Creating a user interface with Interface Builder and Auto Layout
- Working with sliders and progress bars
- Creating views to show images and web pages
- Developing responsive layouts with size classes
- Understanding the iOS architecture
- Loading data in table views
- Transitioning between views
- Developing for the iPad, Apple Watch, and Apple TV
- Submitting apps to the App Store
Skill Level Beginner
1. Prepare to Develop an iOS App
2. Core Skills
3. Basic iOS UI
4. More UI Objects
5. Size Classes
6. iOS Application Architecture
7. Table Views
8. Multiple-View Applications
9. iPad, Watch, and Apple TV Development
10. Finish and Submit to the App Store
Next steps2m 10s
- 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.