Join Jon Bott for an in-depth discussion in this video Project overview, part of Xcode Developer Tools in iOS.
- [Instructor] Before we dive too deeply into the course, let's cover the application that we'll be referencing throughout it. The application consists of a simple table view of spies. We have their passwords. Some are simple passwords. Some are a little more complex. When you select a spy, we are pushed to the details view and we're given a little bit more information about the spy as well as we can search their briefcase, and we have one other view. The important part is how all of these views work, and there are specific issues within them that we'll be able to use Xcode tools to fix.
In diving into the code, the default table view controller is really simple. We're just loading the spy's information and using simple table view delegate and data source methods. There's not a lot here. We aren't going to focus hardly any of our time here. The next place to look is the details view controller, which overall is just a simple view. But the important thing to focus on here is on line 47 you can see that we're using a CALayer. We'll be using UI view type elements as well.
But we're using a CALayer so that you can see how it is affected by accessibility within the application. This would be in case you're building your own components and you're using CALayer, you're going to have to think about certain things with accessibility. Again both of these two classes are not very important. Most of the area that we will be focusing on is this Problems folder where we have issues with accessibility, memory threading, and UI in each of the different classes, the custom cell, cell decorator, et cetera.
We'll be focusing most of our fixes within these classes.
- Working with the Accessibility Inspector
- Reviewing dynamic text and audit fixes
- Using the Memory Debugger
- Using the Thread Sanitizer
- Debugging view hierarchies
- Analyzing a project for memory consumption