Advent · Day 25
This one opens on December 25.
Every door opens at midnight Pacific.
See the calendarTemplate · Productivity · Free
Daily Doors App SwiftUI Template
Daily Doors App SwiftUI Template is a free SwiftUI app template from SwiftPieces, free for everyone with no account. 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. iOS 17.0 and later.
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.
Buyers also search for this as a iOS app template.
| Price | Free |
|---|---|
| iOS | iOS 17.0 and later |
| License | Free for unlimited personal and commercial apps. Do not resell or redistribute the source as a template or UI kit. |
| Dependencies | No third-party packages. Apple frameworks only. |
A calendar of doors that open one a day, for any month and any length: a launch week, a 30-day challenge, a countdown to a trip or a birthday. A home screen of logos drawn in ink, on pages of 16 with a dock for today's door. Each door opens at local midnight on its day and draws itself in stroke by stroke; a locked door shakes and says when it opens. An open door shows any SwiftUI view you choose with its day, title and line. Your days live in one file with a start date, logos are drawn from lines, boxes, circles, arcs and dots or come from SF Symbols, and a morning reminder and a Today's door widget keep people coming back.
- SwiftUI
- iOS 17.0+
- Xcode project 1.0.0
- doors-app
Step-by-step in the Doors guide.
Proof
This targets iOS 17.0 and later, built and tested on iOS 26 and iOS 18.
No simulator still is published for this page yet.
01
What's inside
The screens this template wires together, in the order someone meets them.
Home
The doors as a home screen of hand-drawn logos, 16 to a page with page dots, and a dock that opens today's door. Before the first door it counts down; after the last every door stays open.
A door
Any SwiftUI view on a card, with the day, an optional tag, the title, one line and an optional link. The sample draws the door's logo large.
Around it
Settings for the morning reminder and, in debug builds, a date to pretend it is. A small and medium widget for today's door that turns over at midnight.
02
What's included
SwiftUI source you own, built on Apple frameworks only.
- Any start date and any number of doors, across month and year ends
- Hand-drawn ink logos that draw themselves in, stroke by stroke
- Doors open at local midnight on their day; locked ones say when
- Your days in one file: title, line, label, tag, link and logo
- Any SwiftUI view behind a door
- Morning reminders and a Today's door widget
- Paper and ink in light and dark, Manrope, Dynamic Type and Reduce Motion
03
Implementation notes
How it behaves, what it handles, and the decisions behind it.
Doors is a daily unlock calendar as an app of your own, and it's free. Pick a start date and a number of days, for any month: a launch week, a 30-day challenge, a countdown to a trip or a birthday. Its home screen is the doors as hand-drawn ink logos, 16 to a page, with a dock that opens today's door. A door opens at local midnight on its day and draws its logo in, stroke by stroke; doors that opened while you were away draw themselves in when you come back. Tap a door that hasn't opened and it shakes and tells you when it will.
An open door is a card with whatever you put behind it, then its day, tag, title and one line, and a link if you give it one. The sample draws each door's logo large; yours can be a recipe, a photo, a video or a screen from your own app.
Adapting it
- Your days: one file,
Shared/Calendar.swift: the day door 1 opens, then oneDoorper day. Each next door opens a day later, across month and year ends. The app and the widget both read it. Seven, 25 or 30 doors all work. - Logos:
.sketchdraws from lines, boxes, circles, arcs and dots on a 100 x 100 board with a seeded hand-drawn wobble..symboltakes an SF Symbol. - Content:
DoorsView(calendar:clock:content:)takes a view builder; switch ondoor.dayto give each door its own view. - Testing: launch with
-DoorsDate 2027-03-09, or turn on the preview date in Settings in debug builds, to open doors before their day.
The Xcode project
A Tuist project with a Calendar feature module on DoorsKit (the calendar, the sketch engine, the logo view, the clock and reminders), the app, a Today's door widget in small and medium with doors://door/<day> links, morning reminders at the hour you pick, Manrope bundled, light and dark mode, Dynamic Type, VoiceOver labels and Reduce Motion, unit tests for when doors open, the sketches, reminders and the clock, and UI tests for opening and locked doors.
Notes
- Free for everyone, no account needed.
- Doors open by the device's own date and time zone.
- The widget timeline holds an entry for each midnight a door opens, so it turns over without the app.
04
Keep building
Pieces that work well next to this one.