Debugging UIKit Views with Reveal

Aug 24 2021 · Video Course (36 mins) · Intermediate

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.

5/5 2 Ratings

Version

  • Swift, iOS 14, Xcode 12

Getting Started

Getting Started

2:14 Free

Download and activate Reveal.

1

Set Up Reveal

2:23 Free

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

2

Navigate Reveal

6:54 Free

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

3

Use Reveal to familiarize yourself with the sample project.

4

Find & Fix

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

5

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

6

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

7

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

8

Check & Adjust

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

9

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

10

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

11

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

12

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

13

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

14

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

Contributors

Comments