PadCodedocs

Tutorials

Guided tutorials inside PadCode: the tour, and one for each part of the app. Each one points at what to tap, and you do it for real.

PadCode can show you around itself. A tutorial dims the screen except for one thing, circles it, and says what it is and what to do, like "Tap New App". You tap the real thing, PadCode does what it always does, and the tutorial moves on to the next step.

Tutorials in the sidebar: Take the tour at the top, then a card for each tutorial with what it teaches and how long it takes.

#Open Tutorials

Tap Tutorials in the sidebar, just above Settings. In a narrow window it's in the More menu of the bar at the bottom.

  • New to PadCode? At the top, Take the tour shows you where everything is, in about two minutes.
  • Learn one thing at a time: a card for each tutorial, with what you'll learn and about how long it takes. Tap a card to start it.
  • Go further: The PadCode guide opens this guide, on padcode.dev, in Safari: every component, modifier, formula and action, with pictures.

Each card shows how far you've got: Done once you've finished it, or how many of its steps you've done, like "3 of 12 steps", with a bar. Once you've finished one, the line under Tutorials counts them, like "2 of 9 done". Starting a tutorial again starts it from its first step.

#The tutorials

TutorialWhat you'll learnAbout
A tour of PadCodeWhere everything is: Home, Projects, My Apps, Widgets, Templates, the AI Agent, the Marketplace, Settings and Tutorials.2 min
A tour of the BuilderEvery part of the Builder: the canvas, Undo and Redo, the device, appearance and zoom controls, each of the Library's tabs (Components, Layers, Screens, Assets, Data & Logic), the Inspector's Style, Actions and Data on a Button you add, Simple and Flow, Agent Mode, Preview, Finish and Apple Pencil.6 min
Your first appMake an app with New App, add a Text from the Library, change its words in the Inspector, and run it in Preview.3 min
Data and actionsAdd a variable (count), show it in a Text with {count}, add a Button, and give it a Set Value action, then try it in Preview.5 min
The AI AgentYour plan's AI credits on the AI Agent screen, then Agent Mode in the Builder: the message box and the three modes, Manual, Auto and Plan. Agent mode is part of Pro: on Free, its button says so.2 min
WidgetsMake a widget with New Widget, see its sizes, add a Text, then put it in Small 1 under On your Home Screen.3 min
The MarketplaceBrowse the Marketplace, open an app's page, and Get it, so it becomes a project of your own.2 min
Make your own themeOpen the Theme Builder from the Marketplace's Themes, and see how a theme starts, how you see it as you go, its key colors and saving it.2 min
Preview and My AppsRun your app in Preview on any device, then Finish it with an icon of its own, and find it in My Apps.3 min

The tutorials follow this guide: to read more about a step, see The canvas, The Library, The Inspector, Your first app, Variables, The AI Agent, Widgets, Make your own theme, Preview and Finish your app.

#Taking a tutorial

Each step has a card next to the part of PadCode it's about. The card shows the tutorial's name, the step's number (like 4 of 9) with a bar, what the part is, and what to do.

A step of Your first app: the Library's Text tile circled, and the card beside it saying Under Text, tap Text.

There are two kinds of step:

  • Your turn: the card says what to tap, and Your turn is where the button would be. Tap the circled part itself. PadCode does what it always does (a sheet opens, a view is added, Preview starts), and the tutorial goes on to the next step by itself. Only the circled part can be tapped; the dimmed rest waits. Once you've tapped it, the dimming steps aside, so a menu, a sheet or the keyboard it opens can be used too.
  • Next: the card explains something. Read it and tap Next (or Done, on the last step).

A step where you type, like changing a Text's words in the Inspector, waits for you: Next appears once you've changed them, so tap it when you've finished typing. When the next step points somewhere else, the keyboard goes away by itself.

On every step:

  • Back goes back to the step before that still has something to do. Steps you've already done are passed over, so Back takes you to the last explanation.
  • Skip ends the tutorial. What you did so far stays done, and the card on Tutorials remembers how far you got.

#When what to tap isn't on screen

If the part a step is about isn't on screen (you went somewhere else, a panel is hidden, or it's scrolled out of sight), nothing is dimmed, so you can get to it, and the card sits in the middle of the screen:

  • Take me there goes to where it is: the right section, or the tutorial's app in the Builder.
  • Or the card says how to find it, like "The Library is the Builder's left panel: tap Show left panel, at the top left."

Once the part is back on screen, the step carries on.

#Sheets, the Builder and Preview

Tutorials work over everything PadCode shows: the New App sheet, the Builder, Preview, the Theme Builder, the icon designer and the Marketplace. Turning your iPad, or changing the size of PadCode's window in Split View or Stage Manager, moves the circle and the card with what they point at.

The New App sheet during Your first app: the sheet circled and the card beside it, with the name and description already filled in.

#Your work is safe

Tutorials never change your own apps. When a tutorial needs an app to work in, it makes a sample with "(Tutorial)" in its name:

TutorialIts sample
Your first appMy First App (Tutorial): New App's sheet is filled in with it, and you tap Create
A tour of the BuilderBuilder Tour (Tutorial), made when it starts
Data and actionsCounter (Tutorial), made when it starts
The AI AgentAgent Practice (Tutorial), made when it starts
WidgetsMy Widget (Tutorial): New Widget's sheet is filled in with it
Preview and My AppsPractice App (Tutorial), made when it starts
The MarketplaceThe app you Get

A tour of PadCode and Make your own theme make nothing. Make your own theme doesn't save a theme: that's up to you.

#The end

When you finish a tutorial, PadCode celebrates with a check and a little sparkle, and says Tutorial complete.

If the tutorial made an app, the card names it and asks what to do with it:

  • Keep it keeps it in your projects, to go on playing with.
  • Delete it deletes it (and nothing else). If it was open in the Builder or in Preview, PadCode closes it and goes back to Tutorials. A widget you put in a slot leaves the slot too.

If you Skip a tutorial that made an app, the card says Tutorial skipped and asks the same. A tutorial that made nothing just ends, or shows Done after the last step.

Tutorial complete: a check in PadCode's colors, the sample's name, and Delete it beside Keep it.

#With a keyboard

Esc skips the tutorial, and on its last card it keeps what it made. It's Skip Tutorial in the menu bar's Help menu. Something that uses Esc itself takes it first: in Preview, Esc closes Preview (as Done editing does), and on the Builder's canvas it deselects.

#With VoiceOver

Each step's card is read out as it comes: its number, its title and what to do. Then:

  • Swipe to the card's buttons: Skip, Back and Next.
  • On a step that waits for you, the card's actions (swipe up or down) have Go to and the step's name: it moves VoiceOver to the part to use. Double-tap it, and the tutorial moves on.
  • The two-finger scrub (the escape gesture) skips the tutorial, and keeps what it made on its last card.

With Reduce Motion on, the circle doesn't pulse, the card doesn't glide from step to step, and the end has no sparkle.