Загрузка...

SwiftUI Reminders with EventKit — Custom UI, Priorities & Due Dates (Xcode Tutorial)

📝 Build a reminders system with YOUR OWN custom UI - not a clone of Apple's Reminders app.

In this tutorial, you'll integrate Apple's EventKit framework to create, fetch, complete, and delete reminders - but instead of copying the stock Reminders look, we're building a custom interface you can drop into any app: habit trackers, project managers, to-do lists, shopping lists — whatever you're building.

This is a companion to my Calendar Integration video (linked below) - both use EventKit, but they access completely different sides of the framework. If you watched that one, you already know the permission model. If not, no worries - we cover it from scratch here.

🔑 What You'll Learn:
• Requesting reminder permissions with requestFullAccessToReminders (iOS 17+)
• Building a ReminderManager with async/await fetch using withCheckedContinuation
• Creating reminders with due dates, priorities, and notes
• Fetching incomplete vs completed reminders with separate predicates
• Toggling completion state with isCompleted
• Deleting reminders with swipe actions
• A fully custom SwiftUI UI — card-based layout with priority badges, not the Apple Reminders clone

🖼 Try It Yourself!
Clone or download the full demo project here:
📁 Demo Template: https://github.com/NDCSwift/SwiftUIRemindersDemo
Calendar Integration Video (companion): https://youtu.be/5bZUVNO6rxo

📋 Requirements:
• Xcode 16+
• iOS 17+ deployment target
• Basic SwiftUI knowledge

⏱️ Timestamps:
00:00 — What We're Building
01:30 — Project Setup & Info.plist for Reminders
02:23 — How Reminders Differ from Calendar Events in EventKit
03:30 — Building the ReminderManager
07:44 — Fetching Reminders with Async/Await
13:00 — Reminder CRUD operations
19:31 — Creating Reminders with Due Dates & Priorities
24:50 — Building the Custom Card UI
33:25 — Wiring up in ContentView
38:34 — Custom ReminderListView
43:21 — PermissionView
46:22 — CreateReminderView
55:20 — Testing, Troubleshooting, & Common Gotchas
58:07 — Wrap Up

👍 Drop a like if this saved you time

#SwiftUI #EventKit #Reminders #iOSDevelopment #Xcode #SwiftUITutorial #iOSTutorial #AppleDeveloper #Swift #TodoApp #CustomUI

Видео SwiftUI Reminders with EventKit — Custom UI, Priorities & Due Dates (Xcode Tutorial) канала NDC
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять