Skip to content

Swift

Swift can build an app for iPhone or another Apple device. It can also target Linux and WebAssembly. The Swift SDK for Android builds Swift libraries and executables.

Visit Swift

When does Swift fit a booking app?

It fits an existing Swift app or a feature you want to build for an Apple device. If the customer just needs to choose a time at a web address, first check whether the existing website already does it.

Swift is the language. For the Xcode workflow, use a Mac running a version of macOS that your Xcode release supports. Xcode builds and runs the project, and a target SDK supplies the features available for that platform. An SDK is a set of tools and interfaces for a particular kind of device or environment.

How can you try the screen before connecting it to bookings?

Start in a private sample project or an isolated copy. Use two fictional times and no connection to real bookings, payments, messages or customer accounts. Use the simulator for your target if it is available.

  1. Choose the target
    Ask which Apple device and system version the project is meant to support. Open the sample screen for that target.
  2. Try both sample times
    Check that the screen updates when you change your selection. Call it a preview so it does not imply a booking was saved.
  3. Check the device requirement
    If you chose Swift for a device-specific feature, test that feature separately on the intended supported device before building the rest of the flow.

Can the same Swift project run on every platform?

The language has multiple targets, but a project can depend on platform-specific features. A program that builds on Linux does not show that the same project can build for iPhone.

Check the tools for the target
TargetWhat to verify
Apple device appCheck the Xcode and target SDK versions, the device systems you support and the current submission requirements if you plan to distribute it.
Another platform or a serverCheck the Swift tools, packages and operating-system features that are available for that target.
Web browser through WebAssemblyThe project needs a Swift Wasm build and browser setup. The official guide currently excludes cross-compiling with Swift SDKs on Windows hosts.

What do you keep when you hand off a Swift app?

Hand over the source, target settings, toolchain version and package requirements. If you use Swift Package Manager, keep the manifest and the resolved dependencies the project uses.

Swift is open source. Access to distribute an Apple app, signing settings, and the app’s live services are separate. Before a handoff, check who can produce a release and who can recover data. A code copy by itself does not transfer the store account or recover saved bookings.