Debugging UIKit Views with Reveal

Learn how to use the Reveal app to find and fix layout and rendering problems in UIKit views. Brought to you by the fine folks at Itty Bitty Apps. By Audrey Tam.

Leave a rating/review
Download materials
Save for later
Comments
Share

Who is this for?

This course is for iOS developers who need a comprehensive tool to find and fix layout and rendering problems in UIKit views.

You’ll use the great Reveal tool to do this, built by the folks at Itty Bitty Apps.

You should have experience with using Xcode to layout UIKit views.

Covered concepts

  • Finding auto layout constraint problems
  • Modifying layout & rendering while your app is running
  • Debugging layout & rendering problems

Part 1: Getting Started

01
Toggle description

Download and activate Reveal.

02
Toggle description

Set up a user breakpoint to integrate Reveal into Xcode. Connect to the sample project running in a simulator.

03
Toggle description

Learn how to use Reveal’s outline, canvas, inspectors and keyboard shortcuts.

04
Toggle description

Use Reveal to familiarize yourself with the sample project.

Part 2: Find & Fix

05
Toggle description

Learn how to identify and fix the problem of a missing or accidentally deleted autolayout position constraint.

06
Toggle description

Learn how to find and fix an unsatisfiable constraint, like setting a size smaller than the view’s instrinsic content size.

07
Toggle description

It’s easy to forget to turn off translatesAutoresizingMaskIntoConstraints on a UIView. Learn how to detect and fix this common constraint error.

08
Toggle description

Fix an untappable button by fixing a constraint on a neighboring button.

Part 3: Check & Adjust

09
Toggle description

Learn how to use Reveal to check accessibility labels without using accessibility inspector or VoiceOver mode on a device.

10
Toggle description

Learn how to use Reveal to identify the gesture recognizers in your app and try out different behaviors for them.

11
Toggle description

Learn how to check your app’s appearance in dark mode, faster than using Xcode’s environment override.

12
Toggle description

Learn how to use Reveal to determine the correct offset for a map annotation so the pin points to the location.

13
Toggle description

Learn how to easily test for extreme cases of text overflow without affecting your unit testing code.

14
Toggle description

Depending on their runtime content, some views might be compressed. Check your views and decide how to adjust layout priorities.