Studio for iPhone, iPad and Mac
The native rendering of Studio's worked example: one multiplatform SwiftUI target (iOS 18+, iPadOS 18+, macOS 15+) on StudioKit, plus a unit-test target. Bundle id com.aidenlive.studio, display name "Studio".
Status (Studio 2.2): written and gated, not compiled. No Swift toolchain runs where this was written; nothing here has been built, tested or run on a device. Verification lists every check that ran, and Open risks lists what to look at first in Xcode.
The app works offline on a seeded "Sample workspace". It has no network code, publishes nothing, sells nothing and has no account. Every number is generated on the device and labelled as sample data.
Open, run, test, sign
You need a Mac with Xcode 26 or later (Xcode 27 is current). The project uses objectVersion 77 synchronized folders.
- Open
apps/apple/Studio.xcodeproj. Xcode resolves StudioKit from../../packages/swift, a local package. - Pick the Studio scheme and a destination: an iPhone or iPad simulator, or My Mac. Run with ⌘R.
- Run the tests with ⌘U. They use Swift Testing, and the test target is hosted in the app.
- Signing: the targets use automatic signing with an empty
DEVELOPMENT_TEAM. Choose your team under Signing & Capabilities before you run on a device or archive. On the Mac the app is sandboxed (ENABLE_APP_SANDBOX;ENABLE_USER_SELECTED_FILES = readonlylets the file links' and static pages'fileImporterread the file the person picks, and nothing else; whether to keep it awaits the owner's approval) and uses the hardened runtime. It needs no other entitlements.
From the command line:
make apple # StudioKit build + test, then the app for the iOS Simulator
make apple APPLE_DESTINATION='platform=macOS'
xcodebuild -project apps/apple/Studio.xcodeproj -scheme Studio -destination 'platform=macOS' CODE_SIGNING_ALLOWED=NO test
The icons are rendered from the bundled Bounded TTF by python3 -I apps/apple/scripts/render-icons.py, which needs Pillow. Run it again after changing the mark.
Layout
| Path | Holds |
|---|---|
Studio.xcodeproj/ | The hand-written project.pbxproj (two synchronized root groups, the local package, Info.plist through INFOPLIST_KEY_* settings) and the shared Studio scheme. 2.2 added files only inside the synchronized folders, so the project file is unchanged |
Studio/App/ | StudioApp (scenes, launch, store errors), Navigation (sections, the resource scope, the editor request, Navigator, the starter looks, focus entries, settings keys), ResourceActions, StudioCommands |
Studio/Domain/ | Pure, nonisolated logic: URL and alias rules, the collection filter and results line, the draft and its session for every kind but the Bio page, KindDetails (event and its .ics writer, file link, static page and its ZIP reader, splash page, checkout rules), the link's behaviour, Home's numbers (TodaySummary, LibrarySummary, Attention), QR content, styles and export, the vCard 3.0 writer, images, the 19 page widgets, sample analytics, Transferable exports (PNG, SVG, .vcf, .ics, CSV, uploads), the seeded generator |
Studio/Model/ | The SwiftData model Resource, the sample seed (one of every kind) and WorkspaceStore |
Studio/Screens/ | RootView (the tab bar or the Mac window, the root toolbar, the account menu, the New sheet), Home, Resources, Analytics, Settings |
Studio/Screens/Editor/ | EditorScreen: the editor workspace for the eight draft kinds, and the loader that sends a Bio page to the page editor |
Studio/Screens/Editors/ | Each kind's inspector sections and canvas: LinkEditor, VCardEditor, QREditor, KindEditors (event, file link, static page, splash page, payment link), their shared controls (ResourceSections), and the Bio page editor (PageEditor, its model, widgets, palette and inspector) |
Studio/Components/ | Resource rows, the QR view and its export buttons, the artwork placeholders and social-card art, the page's image library and image view, the photo picker |
Studio/Assets.xcassets, Studio/PrivacyInfo.xcprivacy | AppIcon (iOS 1024 and every macOS size), AccentColor (the spec's primary, light and dark sRGB), and the privacy manifest |
StudioTests/ | Unit tests (KindTests covers the 2.2 kinds, the .ics, the ZIP reader and the 2.1 migration) |
scripts/ | The icon renderer and the three gates that stand in for a build (Verification) |
The 2.0 shell is archived in .archives/removal-safe/studio-apple-2.0-shell/; 2.1's sidebar shell, Today-card Home, sheet editors and the StudioKit Today card in .archives/removal-safe/studio-apple-2.1-shell-and-sheets/.
Architecture
Kinds. Nine, from StudioKit's StudioKind (the spec's ids; studio-react's KINDS), in the New sheet's order: Short link · Bio page · vCard · Event · File link · Static page · Splash page · Payment link · QR code. StudioKit carries each kind's label and plural, its blurb, glyph, colour family (four: link lime, QR ink, site blue, vCard purple), metric word, primary action ("Save link", "Publish", "Export"), save model, view control and whether it has an address (all but the splash page and the QR code).
Model. One @Model class, Resource, holds every kind. Its kind decides which fields mean anything. Structured values are lenient JSON Data read through typed accessors (linkOptions, qrStyle, qrContent, card, page, event, splash, fileDetails, staticDetails); images and uploads are @Attribute(.externalStorage) fields of their own (qrLogoImage, cardPhoto, linkCardImage, pageImagesData, uploadData). A payment link's checkout URL is destination: no amount, currency or product is stored (Cardsite's ADR 0104). isActive is the record's Active switch: off is Paused; on is Draft, never Live, because nothing here is published.
Migration from 2.1. Two steps, both tested (MigrationTests):
- *Schema* (lightweight). 2.2 adds
eventData,splashData,fileDetailsData,staticDetailsData(eachData()by default) anduploadData(optional, external storage). Every one has a default, so SwiftData opens a 2.1 store by lightweight migration with noVersionedSchema. A record from 2.1 reads every new accessor as its default (an empty event decodes to one starting at the next hour). - *Data* (
WorkspaceStore.migrateLegacyKinds, run bybootstrapIfNeededat every launch, a no-op once done). 2.1 stored the Bio page's kind assite;StudioKind(storedValue:)andStudioKind'sDecodablealready read it as.biopage, and the step rewriteskindRawtobiopageso predicates and anything reading the raw id agree.
If a later version needs a non-lightweight change, introduce VersionedSchema versions (2.1 = the fields before eventData) and a SchemaMigrationPlan then.
Store. WorkspaceStore is @MainActor @Observable over the main ModelContext. It owns every write: seeding (once), Reset, the composer's createShortLink (destination, domain, optional alias), newDraft and insert for a draft's first Save, create for a Bio page, setActive, publish, duplicate (every kind's fields and upload), archive / restore / delete, the legacy-kind step and save errors. Views read with @Query and act through the store. ResourceActions wraps the store, the toast centre and the navigator, so a row, a context menu, a swipe and a menu command run the same code. Archive shows a toast with Undo in place of a confirmation; Delete is confirmed with studioConfirm.
Domain. Everything in Domain/ is nonisolated and value-typed, so the tests reach it directly. 2.1's link, QR, vCard and page logic is unchanged; 2.2 adds:
EventDetails: location, start, end, IANA zone (edited as wall-clock times,setTimeZonekeeps them), note, URL; the card's words;icsText, an RFC 5545 file with one VEVENT, times in UTC (aTZIDneeds aVTIMEZONE, which UTC doesn't), CRLF, folded at 75 octets, escaped as vCard text is.FileDetailsandFileRules: Cardsite's allowlist (JPEG, PNG, GIF, WebP, PDF, TXT, CSV, JSON, ZIP; no SVG) and 10 MB cap.StaticDetailsandStaticSite: an HTML file as it is, or a ZIP's entry page (the shallowestindex.html, else the shallowest HTML; never__MACOSX), read by a small central-directory reader with stored and deflated entries (Compression'sCOMPRESSION_ZLIBis raw DEFLATE). Read once, when the file is picked.SplashDetails: title, message, unlock seconds (1–60, 5 when unset), auto-redirect, the secondary button, and the ad and custom code Cardsite saves but never serves.CheckoutRules: the checkout URL is required and http(s); the interstitial shows its host.ResourceDraftholds every draft kind's fields with per-kind validation worded as the fix;importFileandimportStaticPagetake a picked file;DraftSessiongives dirty tracking and the discard guard.LibrarySummary: Home's four library numbers over the sample items' 30-day reports.
Navigation (BRIEF decision 8; no sidebar on any platform). Three sections, Home · Resources · Analytics, in Navigator with the Resources scope and search, the open editor, the New sheet and Settings.
- iPhone: the system
TabViewat the bottom. New is a toolbar+on each tab's root (tab bars navigate; toolbars act) and opens the New sheet of the nine kinds. The account menu is at the leading edge, search at the trailing edge. - iPad: the same
TabView, which iPadOS 18 draws as the floating tab bar at the top..tabViewStyle(.tabBarOnly)keeps it a tab bar: it never adapts into a sidebar. - Mac: one window. The toolbar holds the account, the destination picker (Home · Resources · Analytics, ⌘1–⌘3), the search field (
.searchable(placement: .toolbar), ⌘F) and New (⌘N). No sidebar. - The editor workspace covers the window: a
fullScreenCoveron iPhone and iPad (with the window's toast centre re-hosted above it), the window's content on the Mac, wherefullScreenCoverdoesn't exist. Back returns to where it was opened.
Screens.
- Home (decision 3), the OG Home: the hero (
StudioHomeHero: the date kicker, "Good afternoon, *Daria.*", the lead, and clicks today, added this week and QR scans today in a column; on a phone a headline-size greeting and a fixed 3-up row of stat cards that never wraps); Start something new (StudioComposer: the long URL, the domain picker and alias in one input group, and the lime Shorten, the page's one primary action; a 2×2 ofStudioKindTiles, QR code, Bio page, vCard, File link; then "All nine kinds", which opens the New sheet); The whole library (fourStudioStatTiles with Swift Charts sparklines: total visits, unique visitors, resources, top performer); Pick up where you left off (six rows, View all); Start from a look (a rail ofStudioLookCards: the six QR looks, the Press link preset and a page theme, each starting a new item in that look). One dismissible banner says the numbers are sample data. - Resources (decision 5): one list. Its first row is the kind picker (All and the nine kinds, each with its count, as chips that scroll sideways rather than wrap). The toolbar is the header: the title with its count, Filter (state, sort, needs attention, archived, with the number of choices on as its label), New (the root
+), and the system search field. The results line follows. Rows (ResourceRowonStudioListRow: the kind badge only in All, the address, Paused, the sample metric in the kind's word) have a menu and a context menu (Open, Copy address, Analytics, Duplicate, Pause or Activate, Archive with Undo, Delete), swipe actions on iPhone (Archive or Restore trailing, Copy address leading), and multi-select. Empty states cover a first run (per kind), no search results, nothing matching the filters and nothing archived. - Editor workspace (decision 4), on StudioKit's
StudioEditorWorkspace: - *iPad and Mac:* three panes. The library leads as a collapsible floating panel (Liquid Glass on OS 26, the material below, opaque under Reduce Transparency), open from
library-collapse-atand collapsed below it for the draft kinds: search, New tiles for the kind and its siblings (Short link · vCard · Static page · File link · Event · Payment link · Splash page; for a QR code, Link · Text · Wi-Fi · Email and the six preset looks), and Recently edited of the kind. The canvas fills the centre on the dotted lattice with what the visitor gets, live: the link in a browser frame with the short → destination strip, the gates and the social card (desktop or phone width); the contact card with Download .vcf; the event card with Add to calendar (.ics); the file's download page; the static page in aWKWebViewwith JavaScript off, navigation blocked and Cardsite's content security policy (desktop, tablet or phone width); the splash interstitial counting down; the payment interstitial with Continue to checkout; the QR code at the bar's zoom (50–200%); the Bio page's block canvas. The inspector trails as the system's.inspector: the object head (the kind's well, the name edited in place with the kind as its serif accent word, a caption of facts, the Active switch), the address (domain, slug, Copy, Shuffle) for every addressable kind, the kind's sections in Cardsite's field order, and one collapsed More options. - *iPhone* (below
editor-sheet-at): the canvas fills the screen; Library and Settings are sheets (medium and large detents) from a floating glass bar, Library · Preview · Settings (Blocks · Page · Settings for a Bio page). - *Editor bar* (the system toolbar): Back, the kind and name (
StudioEditorTitleLabel, a menu with Rename and the kind's recent items) and one status word; the view control (desktop/phone, device width or zoom); the library and inspector toggles; the primary action (Save link, Save vCard, Save event, Save file link, Save static page, Save splash page, Save payment link; Save and Export for a QR code; Publish for a Bio page) with ⌘S; More (Duplicate, Download .vcf/.ics/the file, Archive, Delete); the account. - *Save models:* the draft kinds save explicitly: Save is enabled once the draft is valid and changed, the status reads Saved, Unsaved or what a new item still needs, and Back, a library row or a New tile asks "Discard your changes?" first. A QR code adds Export (PNG at 512, 1024 or 2048, and SVG). The Bio page autosaves and publishes, with its own undo history (unchanged from 2.1).
- *Files:* file links and static pages take a file through
fileImporter, read off the main actor inside the importer's security scope. On the Mac this uses the sandbox's user-selected read-only entitlement (ENABLE_USER_SELECTED_FILES = readonly, left in the project as it was). - Analytics (decision 6): any kind with a metric. The toolbar is the header: the title, the item picker, the range and Export (the daily values as CSV, labelled sample data). Stat tiles, the area chart with its daily values one disclosure away, and ranked breakdowns follow.
- Settings. Theme, density, a local profile, Reset sample workspace (confirmed), Show the sample banner again, and About with the four bundled fonts' licences. On the Mac this is the Settings window (⌘,); on iPhone and iPad a sheet.
Commands. File: New Window ⌥⌘N, New… ⌘N (the New sheet), New Short Link, Bio Page, vCard, Event, File Link, Static Page, Splash Page, Payment Link and QR Code, and Search Resources ⌘F (Resources with its field focused). In the editor workspace ⌘S is the primary Save and Escape is Back (which asks first when there are unsaved changes). View: Home, Resources and Analytics, ⌘1 to ⌘3. Item, on the focused selection: Copy Address ⇧⌘C, Show Analytics ⌥⌘A, Duplicate ⌘D, Pause or Activate, Archive or Restore (no key equivalent; on the Mac ⌫ archives the selected rows while the list has focus, through onDeleteCommand). Block, in the page editor: Move Up ⌥⌘↑, Move Down ⌥⌘↓, Duplicate Block ⇧⌘D, Delete Block ⌥⌘⌫; Move and Delete Block are disabled while an inline field on the canvas has focus. Undo and redo are ⌘Z and ⇧⌘Z: in the page editor they act on its own history (see Page editor). No shortcut takes a key text editing owns: ⌘⌫ (delete to the start of the line), ⌥↑ / ⌥↓ (move by paragraph) and ⌫ stay with the focused field, which is why Archive lost ⌘⌫ and the block moves left ⌥↑ / ⌥↓ in 2.1. Each window keeps its own state, including its own toasts. On iPad the commands show in the ⌘ HUD.
Status words. Rows use StudioKit's StudioStatus (DESIGN.md's one vocabulary). Nothing is published, so no item is ever Live: active items are Draft and show no word; paused items show Paused. Editors show one save word (Saved, Saving, Unsaved, Failed), with "Unsaved changes" as the spoken label. A test checks that no item is Live.
Liquid Glass. Glass appears only where the system draws it (the tab bar, toolbars, sheets, menus, the inspector) and in Studio's own floating chrome: the editor's library panel, its narrow sheet bar, and the page editor's block toolbar, through StudioKit's studioGlass (Liquid Glass behind #available(iOS 26, macOS 26, *), .regularMaterial below it, opaque under Reduce Transparency or Increase Contrast). No screen sets a bar background. Cards, rows, tiles, charts, the hero, the composer, the previews and the canvas are flat surfaces with hairlines. The primary action is an opaque lime capsule.
Accessibility.
- Dynamic Type. Every role scales through StudioKit. Rows fold, section headers stack, the phone hero's 3-up stats and the stat tiles' figures shrink rather than wrap, the New sheet's tiles go to one column at accessibility sizes, and the editor's sheet bar stops growing at the largest non-accessibility size (with the large content viewer).
- Dynamic Type in the editors. Tile grids halve their columns at accessibility sizes, paired fields stack (
ViewThatFits), and tile labels shrink a little rather than wrap. - VoiceOver. Labels on every icon-only control; rows, tiles, the hero's stats and the kind picker's chips (with their counts) read as elements; the editor's title menu reads as the kind and name; the zoom control is adjustable. Each canvas block reads as its kind, position and state ("Heading, 2 of 5, hidden") and offers Select, Move up, Move down, Duplicate, Hide or Show, and Delete as actions; moves and drops announce the new position. Palette tiles say they can be pressed or dragged, and an insert announces where it landed. Option tiles (content types, Looks, modules, eyes), swatches and the image grid carry the selected trait. The object head's caption, the scan check and the browser preview read as single elements; the drawn "Continue" and "Add to contacts" buttons in previews are hidden, since they aren't controls. Toasts are announced.
- Drag alternatives. Everything a drag does has a non-drag path: press a palette tile to add, the block toolbar's up and down or ⌥⌘↑ / ⌥⌘↓ to move, and the VoiceOver actions.
- Reduce Motion and Reduce Transparency. Handled by StudioKit and the system; the canvas width change and the block toolbar's appearance don't animate under Reduce Motion; the block toolbar and the iPhone dock are opaque under Reduce Transparency.
- Increase Contrast.
outline-strongrims (the object head, the type card, option and palette tiles) and stronger muted ink. - Targets and keyboard. Every target is at least 44pt, including the block handle (24pt drawn), the block toolbar's 32pt tools (
studioHitTarget), the remove buttons of repeatable rows, the swatches and the address field's controls. Keyboard shortcuts as above.
Verification
| Check | Command | Result |
|---|---|---|
| Swift syntax (tree-sitter-swift 0.7.1) | node tools/swift-syntax.mjs | 0 syntax errors, 0 unknown tokens |
| Token names | node packages/swift/scripts/swift-symbols.mjs (scans packages/swift and apps/apple) | 0 unknown |
StudioKit API: every StudioX(…), StudioX.f(…) and .studioX(…) call's labels against the declarations in packages/swift/Sources (2.2: failable init? declarations are read too) | node apps/apple/scripts/api-crosscheck.mjs | 0 problems |
| pbxproj structure | python3 -I apps/apple/scripts/check-pbxproj.py apps/apple/Studio.xcodeproj/project.pbxproj | OK. 2.1 and 2.2 added and moved files only inside the synchronized folders, so the project file is unchanged. PhotosUI, CryptoKit, Compression and (in StudioKit) WebKit link automatically (Swift auto-linking) |
| Assets | python3 -I apps/apple/scripts/check-assets.py apps/apple (needs Pillow; without it the step reports SKIPPED, never a pass) | OK, 11 slots |
| All of the above, every run | make validate (STRICT=1 fails on a SKIPPED) | The three apple steps run beside the Swift syntax, token and token-table steps |
| Compile, unit tests, running on a device | Xcode | Not run. Nothing here has been compiled |
Open risks
These are the first things to check in Xcode, most likely first:
- Swift 6 isolation at the app/package boundary. The app defaults to MainActor isolation; StudioKit defaults to nonisolated. Value types used as identifiers, drag payloads or
Transferables arenonisolated. Check: onGeometryChange's transform in the page canvas (assumed@Sendable; it reads only anonisolatedconstant);NSItemProvider.loadTransferable(type:completionHandler:)inCanvasDropDelegate, whose@Sendablehandler hops to the main actor with aTask;- the
@Entryfocused values with main-actor types (Navigator,ResourceActions,PageEditorModel); UndoManager.registerUndowithMainActor.assumeIsolatedinPageEditorModel(on the model's own manager; check that ⌘Z in an inspector field on the Mac undoes the burst once and the field shows the model's text, and that ⌘Z still undoes typing in the singular sheet's fields through the forwardedundo:; on iPad, that the toolbar's ⌘Z and a focused field's own ⌘Z don't both fire);PhotosPickerItem.loadTransferable(type: Data.self)awaited in a main-actorTask, thenImageProcessing.prepareInBackground(@concurrent);KeyedDecodingContainer.lenient(anonisolatedgeneric extension) used by everynonisolated init(from:);@Entry var pageContacts: [UUID: VCardDraft]inEnvironmentValues.
The app no longer uses Binding(get:set:): rows bind with @Bindable; the canvas, the inspector (Synced), the time-zone picker, the paint picker and the date rows keep their own @State copy and report changes.
- Drag and drop on the canvas.
.draggable(BlockDrag)(a plain-textProxyRepresentation, so no exported type declaration is needed) with.onDrop(of: [.plainText], delegate:). Check thatDropInfo.locationis in the page's coordinate space (the block frames are measured in.named("page-canvas")on the same view), that a drag started from the block toolbar's handle doesn't fight the canvas's scroll on iPhone, and that text dropped from another app is refused quietly. - The shell.
TabViewwith.tabViewStyle(.tabBarOnly)on iPad: check that the floating tab bar stays at the top and never offers the sidebar, in every size class and in Split View. On the Mac, check the toolbar's segmented destination picker in.principal,.searchable(placement: .toolbar)with ⌘F (isPresented), and that swapping the window's content for the editor (and back) keeps the toolbar sane. - The editor workspace.
fullScreenCover(item:)on iPhone and iPad: check that switching item from the library (Navigator.editorchanging while the cover is up) re-presents cleanly, and that the window's toasts show above the cover (studioToasts(toasts)re-hosts the same centre).StudioEditorWorkspaceuses.inspector(isPresented:)only when wide and one.sheet(item:)for Library and Settings when narrow: check an iPad in a narrow Split View (regular size class, undereditor-sheet-at), the sheet bar above the home indicator, and that the inspector'sFormscrolls in both. The library panel'sstudioGlasson a longScrollView: check legibility with Increase Contrast and Reduce Transparency. The discard dialog (confirmationDialog(presenting:)) for Back, a library row and a New tile. - Toolbars. The editor bar on iPhone at 375pt: Back, the title menu and status in
.navigation, the primary, More and the account; the view control in.principal(hidden on iPhone for the Bio page). The QR bar's Export is aMenuofShareLinks styled as the lime button (.menuStyle(.button)+.studio(.primary)): check it draws lime and that eachShareLinkopens the share sheet from a menu on iOS and the share menu on the Mac. The status text for a new item truncates atregionwidth. - Inline editing.
TextField(axis: .vertical)inside canvas blocks (only the selected block's words become fields), focus moving the selection, a tap outside clearing it (on the canvas's background layer, with the content at least the canvas tall), and the selected block's masked tap (.gesture(_:including:)) letting a tap on a field place the caret on iOS. Check that the first keystroke after an undo keeps the caret, that the field shows the model's text after undo and redo, and that a field's font (PageFont.main, a custom font at the block's size) matches the drawn text so selecting a block doesn't make it jump. - APIs the editors lean on.
DatePickerhonouring.environment(\.timeZone, …)(the schedule is edited in its zone);Color.resolve(in:)giving sRGB components for a custom QR colour (if they come back linear, the hex is off);.presentationBackgroundInteraction(.enabled(upThrough: .medium))on the narrow sheets;ToolbarItem(placement: .navigation)holding the page's name menu on iPad and Mac;Slider(value:in:step:label:onEditingChanged:)with two trailing closures. - Files and web content.
fileImporter→PickedFile.read(@concurrent, insidestartAccessingSecurityScopedResource), its result handed back to the main actor through non-Sendableclosures in aTask(region isolation should allow it).StudioStaticFrame'sWKWebView: JavaScript off throughdefaultWebpagePreferences.allowsContentJavaScript, the asyncdecidePolicyFordelegate method on a@MainActorcoordinator (check it is the one WebKit calls, and that a tapped link does nothing), the prepended CSP<meta>blocking remote images, andloadHTMLStringonly when the document changes. The ZIP reader against archives made by Finder,zipand Windows (data descriptors,__MACOSX). - The phone hero's 3-up row at accessibility sizes: the figures use
minimumScaleFactorinstead of wrapping. - The .ics in calendars. UTC times, no
VTIMEZONE: check it opens in Calendar, Google Calendar and Outlook at the right local time, and thatUTType.calendarEventis offered by the share sheet. - SwiftData.
@Attribute(.unique)onid; the#Predicateon an optional date; JSONDatafor the draft and published pages; the properties 2.1 and 2.2 added (lightweight migration: every one has a default or is optional); the image and upload blobs are@Attribute(.externalStorage). Open a store made by 2.1.0 and check that its links, cards, codes and pages read, and that its Bio pages (site) are rewritten tobiopageonce. - The QR pixel read-back.
QRMatrix.extractassumes a bitmap context's first memory row is the image's top row. The tests (QRCodeTests.matrix,pngQuietZone) fail if it is flipped. - QR exports with a logo or gradient. The PNG clips to the even-odd path to draw the gradient and flips the context to draw an image logo upright; check both against the on-screen
Canvas, and that a code with a logo scans. - macOS. Check that File › New Window opens a second window with its own state and toasts, that
openSettingsopens the Settings window from the account menu, and the icons in the Dock on macOS 15 and 26.
Deviations from the brief, and why
- New is a toolbar
+on iPhone, not a tab. The brief's iPhone tab bar is Home · Resources · Analytics with New as a toolbar+; the HIG keeps tab bars for navigation. - The editor bar is the system toolbar, not Studio's floating pills: on Apple platforms the system draws bars (glass on OS 26), and a custom bar would recreate one. Its items are the prototype's (Back, kind and name, status, view control, primary, More, account).
- The library's New tiles show every link-family kind (Short link, vCard, Static page, File link, Event, Payment link, Splash page), not the prototype's four, so each kind reaches its siblings.
- Home's "Start from a look" has eight cards (the six QR looks, the Press link preset, a page theme): the looks Studio can apply natively.
- QR codes and splash pages have no address field. A QR code encodes its content directly, so an exported code scans without a server; a splash page is attached to links (Cardsite).
- The .ics is written in UTC, not with Cardsite's
TZID: aTZIDmust come with aVTIMEZONE; UTC names the same instant everywhere. The editor still edits wall-clock times in the event's zone. - Embeds in a Bio page draw their HTML as code on the canvas, as in 2.1. Static pages use the web view, with JavaScript off.
- Sample photos are placeholders in the artwork palette until the photos are bundled (
Studio/Samples/<id>.jpg). - Social profiles and social networks show generic symbols. SF Symbols has no brand marks; each platform's name is always written beside its symbol and is its accessible label.
- Publish publishes to this device. The sample workspace has no server; Publish makes the draft the published version and says so ("Published on this device"). Items are never Live.
- No notifications button. The sample workspace has no events.
- The macOS icons carry alpha. The no-alpha rule is the App Store's rule for the iOS 1024, which is opaque RGB. Each macOS size is RGBA, drawn on the macOS grid.
Validation on blur
Fields validate on blur through StudioField(onBlur:) and StudioAddressField(onBlur:), as DESIGN.md Forms asks: on submit, and on blur for filled fields, never per keystroke. Leaving a filled destination, address, click limit, after-limit or after-end URL, targeting rule, email or website checks that field only; turning the schedule's end on checks the schedule. Save stays disabled until the draft is valid and changed, and the editor bar's status names what a new item still needs. A picked file is checked when it is picked.