ViewLab Open Studio
New Learn Swift and SwiftUI for your exam

Build iPhone apps.Right in your browser.

Design screens visually, run Swift instantly and export real SwiftUI for Xcode. No Mac, account or install needed.

  • No account
  • No install
  • Works offline
0SwiftUI views in the library
0exam-prep sessions
0quiz questions with answers
0runnable Swift examples
0accounts or servers needed

Everything in one tab

From first idea
to an app on your phone.

Studio

Design with real SwiftUI building blocks

Drag views from the library, edit them in the inspector, wire navigation, tabs and toolbars. The iPhone preview updates as you go.

Two-way code

Design ⇄ SwiftUI, both ways

Every change writes clean SwiftUI. Edit the code and the design follows.

Live

Scan. It's on your iPhone.

Run your design on a real phone over Wi-Fi, or install it to the Home Screen.

Playground

Plain Swift, results on every line

Like an Xcode playground: type, and each line shows its value. Runs in a background thread so a runaway loop can't freeze the page.

Learn

Ace the exam, the viva and the interview

8 fast-track sessions: definition, syntax, runnable example, differences, exam traps and viva answers.

Runtime

Real Swift → WebAssembly

A SwiftUI-style framework written in Swift, compiled to Wasm, with @State, @Binding and keyed diffing.

Open the Wasm demo →
Private

Offline. On your device.

Projects, playgrounds and progress are saved in your browser. Nothing is uploaded unless you share it.

Export

Hand it to Xcode

Download a ready-to-open SwiftUI folder, or a .webui file to back up and share.

No setup. Really.

Run Swift right here.

This box runs the same Swift interpreter as the Playground, in your browser. Change the numbers and press Run.

main.swift
Output
Press Run.

A subset of Swift (no SwiftUI or Foundation here); for full apps, use the Studio and Xcode. Open the full Playground →

How it works

Three steps. Zero friction.

  1. 01

    Create

    Pick a template: tabbed app, settings, onboarding or blank. Set the name, accent and icon.

  2. 02

    Design

    Add views, edit them in the inspector or in code. Navigation, tabs and toolbars included.

  3. 03

    Run & ship

    Scan to run it on your iPhone, install it, or export SwiftUI for Xcode.

Learn mode

The whole syllabus.
One afternoon.

Swift fundamentals to Swift Charts in 8 focused sessions. Edit and run every example, predict outputs, spot code that won't compile, drill viva answers and sit a timed mock exam.

  • Predict the output questions that check your answer by running the code
  • Exam traps tables: the outputs and errors examiners love
  • App projects with build steps and test checklists
  • Mock exam with a timer and a score per session

    Questions, answered honestly.

    Is the iPhone preview real SwiftUI?

    No. The preview is drawn by your browser from your design, to look and behave like iOS. The code it exports is standard SwiftUI (iOS 17 and later).

    Do I need a Mac?

    Not to design, preview, run on your phone over Wi-Fi, use the Playground or study. To build the exported code into an App Store app, you need Xcode on a Mac.

    Does the Playground run real Swift?

    It runs a Swift interpreter written for the browser, covering the language taught in intro courses: types, collections, optionals, closures, structs, classes, enums, protocols, generics and errors. It doesn't run SwiftUI, async/await or most of Foundation. Its test programs print the same output as the real Swift compiler (6.4.3).

    Where is my work stored?

    In your browser's storage on this device. Nothing is uploaded unless you choose to share a project or run it on your phone, which goes over your local network.

    Does it work offline?

    Yes. After the first visit the whole app is cached. Install it to your Home Screen or desktop and it opens like a native app.

    Is it affiliated with Apple?

    No. It's an independent project. Swift, SwiftUI and iPhone are trademarks of Apple Inc.

    Your next app starts
    in this tab.