Docs

Advent · Day 25

This one opens on December 25.

Every door opens at midnight Pacific.

See the calendar

Doors: Daily Doors App in SwiftUI

Setup guide for Doors, a complete Daily Doors App Xcode project in SwiftUI. Install, rename and make it yours, version 1.0.0.

Doors is a complete Daily Doors App in SwiftUI: an Xcode project you rename and ship. Doors, a daily unlock calendar: a free Xcode project with hand-drawn ink logos on a home screen, one door a day from any start date, each drawing itself in on its day, your own days and content, reminders and a widget. This guide takes you from download to a running, renamed app. It covers version 1.0.0. See the screens on its library page.

Requirements

  • Xcode 26 and an iOS 17.0 or later deployment target
  • Tuist 4 (brew install tuist)
  • An Apple Developer team for devices and the App Group its widget shares. The simulator runs without one.

Install

Download

Free for everyone. Unzip the archive; it contains one folder, Doors/.

Make it yours

cd Doors
scripts/setup.sh --name YourApp --bundle-id com.you.yourapp

The script rewrites the project configuration and runs tuist generate.

Run it

Open YourApp.xcworkspace, choose an iPhone simulator and run the YourApp scheme.

Make it yours

  • Your days: Shared/Calendar.swift holds the calendar: the day door 1 opens (any date, any length), then one Door per day with its title, line, the label under its logo, an optional tag and link, and its logo. The app and the widget both read it.
  • Logos: .sketch([...]) draws a logo from lines, boxes, circles, arcs and dots on a 100 x 100 board, roughened with a seeded wobble so it looks drawn by hand; DoorMark.polyline adds a run of lines. .symbol("star") uses an SF Symbol instead.
  • What a door shows: App/Sources/RootView.swift passes a view builder to DoorsView. The sample draws the logo large (DoorArt); return any SwiftUI view per day instead.
  • When doors open: Each door opens at local midnight on its day. Before the first, the dock counts down; after the last, every door stays open.

Rebrand options

OptionWhat it sets
--nameTarget, scheme and product name. Letters and digits.
--bundle-idThe bundle id. The widget, modules, tests and the App Group derive theirs from it.
--display-nameThe name under the icon.
--teamYour Apple Developer team id.

The values live in Tuist/ProjectDescriptionHelpers/AppConfig.swift if you prefer to edit them by hand.

Launch arguments

ArgumentEffect
-DoorsDate 2027-03-09Pretend it's that day, to see the doors open (also in Settings in debug builds)
-DoorsResetForget which doors were drawn, so every open door draws itself in again

Changelog

1.0.0

2026-12-25

  • Tuist project: the app, a Calendar feature module on DoorsKit, a widget extension, unit and UI tests.
  • A calendar of any length from any start date. A home screen of hand-drawn logos on pages of 16, with page dots and a dock for today's door.
  • Doors open at local midnight on their day and draw themselves in stroke by stroke; locked doors shake and say when they open.
  • A door page with any SwiftUI content, its day, tag, title, line and an optional link.
  • The sketch engine: lines, boxes, circles, arcs and dots on a 100 x 100 board with a seeded hand-drawn wobble.
  • Morning reminders, a Today's door widget (small and medium) and doors://door/<day> links.
  • A sample of 25 everyday days, each with its own hand-drawn logo, to replace with your own.
  • A preview date for testing, from Settings in debug builds or -DoorsDate yyyy-MM-dd.
  • Light and dark mode, Dynamic Type, VoiceOver labels and Reduce Motion.