PadCodedocs

A tour of the editor

What's where in the Builder: the sidebar, the Library, the canvas, the toolbar and the Inspector.

When you open an app, PadCode shows the Builder: the place where you design the app, give it data and logic, and try it. This page shows what's where, so the rest of the guide makes sense.

The Builder: the Library on the left, the canvas with the device in the middle, the Inspector on the right.

From left to right:

PartWhat it's for
The sidebarPadCode's own sections: Home, Projects, My Apps and the rest.
The Library (left panel)Everything you add to your app, in five tabs: Components, Layers, Screens, Assets and Data & Logic.
The canvasYour app's screen on a device, the way it will look. Tap a view on it to select it.
The toolbarAbove the canvas: undo, the device, zoom, Preview, Finish and more.
The Inspector (right panel)The settings of whatever is selected, in three tabs: Style, Actions and Data.

#The sidebar

In the Builder, PadCode's sidebar shrinks to a column of icons on the far left: Home, Projects, My Apps, Widgets, Templates, AI Agent, Marketplace, Tutorials and Settings, with your profile at the bottom (it opens Profile). Projects stays highlighted while an app is open. See Getting around PadCode.

To leave the Builder, tap any of them. There's nothing to save: PadCode saves your app as you work.

In a narrow window, such as Split View or Slide Over, a bar at the bottom of the screen takes the sidebar's place. It has Home, Projects, My Apps and AI Agent, and a More menu with Widgets, Templates, Marketplace, Tutorials and Settings.

#The Library

The left panel holds everything you put into your app. Its five tabs are icons at the top; the panel's title says which one is open.

TabWhat's in itShortcut
ComponentsEvery component you can add, by section, with a search field.⌘1
LayersEvery view on this screen, as a tree.⌘2
ScreensYour app's screens. The first one is where the app opens.⌘3
AssetsImages, fonts, colors and files that belong to this app.⌘4
Data & LogicVariables, secrets, reusable actions and permissions.⌘5

More about each: The Library, Layers, Screens, Images and the other assets, and Variables.

#The canvas

The canvas shows the screen you're working on, inside a device. It looks the way your app will, with each variable showing its starting value.

  • Tap a view to select it. The Inspector shows its settings. A tap selects; it doesn't press a button or type into a field. Use Preview for that.
  • Tap the empty canvas around the device to select nothing. The Inspector then shows the screen's own settings.
  • Touch and hold a view, then drag, to move it.

More in The canvas.

#The toolbar

The toolbar sits above the canvas. From left to right:

ButtonWhat it does
Show left panelBrings the Library back. It's there only while the Library is hidden, and not in Agent mode.
Undo · RedoTakes back your last change, or puts it back (⌘Z, ⇧⌘Z).
Keyboard ShortcutsLists every shortcut (⌘/). See Keyboard shortcuts.
ScreenIn Agent mode, picks the screen the canvas shows. It's there only when your app has more than one.
iPhone · iPadThe device the canvas shows. On a widget, a Widget size menu takes its place, with the Home Screen and Lock Screen sizes.
RotateTurns the device sideways and back. Not on a widget.
Appearance (sun or moon)Shows your app in light or dark mode.
Zoom (100%)Zoom to Fit, and sizes from 25% to 400%.
IssuesThe number of errors and warnings in your app. It's there only when there's something to fix. Tap it for the list. See Issues.
Agent Mode (✦)Swaps the Library and Inspector for the AI Agent's chat, beside the canvas (⌘I), where you describe what to build. It's filled while Agent mode is on. It's part of Pro: on Free it shows what Pro adds. See The AI Agent.
Preview (▶)Runs your app on a device, so you can try it. See Preview.
FinishNames your app, gives it an icon and puts it in My Apps. See Finish your app. A widget has no Finish: it goes on your Home Screen from Widgets.
Show right panelBrings the Inspector back. It's there only while the Inspector is hidden, and not in Agent mode.

#Simple and Flow

While the Inspector's Actions tab is open, the device, rotate, appearance and zoom buttons make way for a Simple · Flow switch:

  • Simple is the Builder as this page describes it.
  • Flow shows your app's logic as a board of steps, in place of the canvas. The Library and Inspector step aside, and the right panel shows the settings of the step you pick. See Flow.

The toolbar keeps the switch while Flow is on, so you can go back to Simple.

#When the toolbar runs out of room

In a narrower window, or once the issue counts appear, not everything fits. First Preview shows only its ▶ icon. Then the canvas controls, the Simple · Flow switch and Agent Mode move into a ⋯ menu (More options). With even less room, Preview, and then Undo and Redo, go into the menu too.

The ⋯ menu can hold:

  • Undo and Redo
  • Preview
  • Agent Mode (on or off) and Keyboard Shortcuts
  • Mode: Simple or Flow; in Agent mode, Screen instead, when your app has more than one
  • In Simple mode and Agent mode: Device (iPhone or iPad), Rotate, Light Mode or Dark Mode, and Zoom

#The Inspector

The right panel shows the settings of what's selected. At its top:

  • The view's name. Tap it to rename the view; under it is the kind of component it is. With nothing selected, this is the screen's title instead, and renaming it renames the screen.
  • ⓘ, which says what the component is.
  • ⋯ (Arrange): rename, copy, paste, duplicate, wrap, move and delete. See The ⋯ menu.

Then three tabs:

TabWhat's in itShortcut
StyleHow the view looks: its own settings, text, size and spacing, color, and every modifier.⌥⌘1
ActionsWhat the view does: pick when (When Tapped, When Shown…), then add steps.⌥⌘2
DataWhat the view reads and changes, repeating it for each item in a list, and the screen's inputs.⌥⌘3

Select several views (Shift-click, with a keyboard) and the Inspector shows what you can do to all of them at once instead. More in The Inspector.

#Hide, show and resize the panels

  • Hide a panel: tap the sidebar-shaped button in its top corner (Hide left panel or Hide right panel), or press ⌘0 for the Library and ⌥⌘0 for the Inspector.
  • Show it again: tap Show left panel or Show right panel at the ends of the toolbar, or press the same keys.
  • Resize a panel: drag the short bar on its inner edge, between the panel and the canvas. Each panel has a narrowest and a widest size. Double-tap the bar to go back to the usual width. PadCode remembers the widths.
The Builder with both panels hidden, so the canvas fills the window.
The Library panel dragged wider, so its component tiles have more room.

When the window is narrow, the panels don't fit beside the canvas. They stay hidden, and slide in over the canvas when you tap Show left panel or Show right panel. The Inspector keeps its place beside the canvas a little longer than the Library does.

#See also