Now that we have reviewed most of the important aspects of implementing efficient and performant apps, in this chapter we explore a few tools to help analyze and debug various issues.
In the previous chapter, we learned that the validity and isolated functional performance of the app can be tested using code. However, specialized tools are required to analyze certain tasks. Some of these tasks include:
Identifying and verifying accessibility tags
Analyzing runtime execution performance of the app in terms of resource utilization
Analyzing network and Core Data usage
Analyzing rendering performance
Performing user interactions through automated code
Analyzing crash logs
There are many tools available, but we will focus on the following ones in this chapter:
Apple’s Accessibility Inspector
Apple’s Xcode Instruments
Let’s start with Accessibility Inspectors.
To reach a larger audience and to win accolades, you should make your app accessible. In addition, you might be legally required to make your app accessible. For example, in the United States, Section 508 may require your entire app (or certain parts of it) to be accessible. In other cases, the target audience may dictate the requirements (e.g., a travel or medical app should be accessible).
UIView (or its subclass) object can be provided an
accessibilityHint, apart from several other attributes. ...