View Hierarchies can be debugged, meaning that you can view them in a visual, 3D perspective instead of simply from the document outline. In this movie, you will see the features of the debug view hierarchy perspective and look at what options you have for viewing the layering and layouts of your applications in 3D space.
- [Voiceover] There's one more thing I want to show you…with the View Hierarchies.…If it's confusing to look at it in the Document Outline,…there's actually another way that you can look at…a View Hierarchy in iOS.…You want to run the application,…and when the application's running,…you have an option in the Debugger…to view the View Hierarchy.…So here's the app and some of that…rectangle's getting cut off on the right side,…we have our Label and we have our Button.…Now we don't want to stop the app,…we want to make sure that it's running.…
We're going to go back into Xcode,…and we get these special options on the Debugger…that apply to our view.…So this one right here is the one I want to focus on.…Debug View Hierarchy.…So this is made for solving problems in your View Hierarchy.…So when your app is running, it doesn't look like how…you want it to look, you can click this button right here,…and when we do that, it might take a minute to load up,…but you're going to see your visual layout…of your app right here.…
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.