# How to draw on your screen in Xcode while demoing an app

Source: https://useoverlaid.app/guides/draw-in-xcode

> Xcode has no drawing or zoom tool for presenting. Make the code readable with a larger font in Settings > Fonts & Colors, then use a screen annotation app like Overlaid to circle code and point at the Simulator.

Xcode demos have two things to point at, the code and the Simulator, and the Simulator is a separate window.

That's the case for a drawing layer that sits above every window, not one that lives inside a single app.

## Bigger fonts in Xcode (Free)

Xcode's themes include a large Presentation theme, and you can set any theme's font size yourself.

1. Open Xcode > Settings > Fonts & Colors.
2. Choose the Presentation theme, or duplicate a theme and raise its font size.
3. Check how it looks at the resolution and display you'll present on.

Good:
- Free
- Makes code readable from a distance

Limits:
- Nothing to point with
- Changes your everyday editor look until you switch back

## Overlaid ($11.99 once, 7-day free trial)

Draws over Xcode and the Simulator at once, since it sits above every window.

1. Press ⌃⌥D to draw and circle the line you're talking about.
2. Drag a Blur & Hide box over anything private, like an API key, before you share.
3. Pinch to zoom the screen when the Simulator's text is too small.
4. Press ⌃⌥D again to go back to coding.

Good:
- One layer over code and Simulator
- Blur & Hide for keys and tokens
- Zoom for small interface details

Limits:
- Paid after the trial

## Tips

- **Hide secrets before you start.** Draw a Blur & Hide box over keys and tokens before opening the file, not after.
- **Draw over the Simulator too.** The Simulator is its own window, so a drawing layer that covers the screen handles both with one shortcut.
- **Zoom after the layout is set.** Set your fonts first, then use zoom for the moments when a detail needs closer attention.

## Questions

### Can you draw on the screen in Xcode?

Not within Xcode. Use a screen annotation app on top of it.

### How do I make Xcode text bigger for a presentation?

Open Xcode > Settings > Fonts & Colors and pick the Presentation theme, or raise the font size of a theme you duplicated.

### Does Overlaid work over the iOS Simulator?

Yes. It draws on top of every window, including the Simulator.
