A native iOS app for discovering, tracking and getting reminded about movies & TV shows — a blend of Letterboxd, IMDb and JustWatch, built with SwiftUI + SwiftData + MVVM for iOS 26.
The app runs out of the box on bundled mock data (artwork streams from TMDb's public image CDN), and switches to the live TMDb API the moment you add a key.
| Area | Highlights |
|---|---|
| Home | Featured hero carousel, Continue Watching, Up Next, trending / popular / upcoming / top-rated / new-seasons shelves |
| Discover | Categorized browse shelves + debounced search (titles & people, with scopes) + filter by type / genre / year |
| Detail | Backdrop hero, ratings (TMDb/IMDb), trailer, cast & crew, seasons, similar/recommended, and full personal tracking |
| Tracking | Watched / Watching / Plan to Watch, date watched, star rating, review, personal notes, rewatch count |
| Watchlist | Watchlist, Watching, Watched, Favorites + custom user lists, with sort & filter |
| Notifications | "Notify Me" on unreleased titles → local reminders 7 days / 1 day / on release day, with live countdowns |
| Activity | Stats dashboard with Swift Charts: totals, hours consumed, favourite genres, monthly/yearly activity, rating spread, streaks |
| For You | On-device recommendation engine: Because You Watched, Similar to Favorites, Hidden Gems, Trending For You |
| Polish | Dark/Light/System appearance, skeleton loading, pull-to-refresh, two-tier image cache, smooth animations |
watched/
├── App/ App entry, TabView, appearance
├── Models/ Enums, TMDb DTOs, unified domain models, SwiftData @Model (TrackedItem, UserList)
├── Services/ TMDBService (API + mock fallback), ImageCache, NotificationService,
│ RecommendationEngine, StatsCalculator, LibraryManager (SwiftData writes)
├── ViewModels/ @Observable view models (Home, Discover, Detail, Person, Recommendations)
├── Views/ Home · Discover · Detail · Watchlist · Activity · Profile · Components
├── Theme/ Design system (colours, spacing, radii, gradients)
├── Utilities/ Formatters, Color+Hex, LibraryIndex
└── Mock/ MockData (offline catalogue) + PreviewData (seeded in-memory store)
- MVVM — Views observe
@Observableview models; SwiftData-backed screens use@Queryand write through the injectedLibraryManager. - Persistence — SwiftData (
TrackedItem,UserList) doubles as the offline cache. - Networking —
async/awaitURLSession, transparent mock fallback viaAppConfig.usesMockData. - Images —
ImageCacheactor (in-memoryNSCache+ on-diskURLCache) behindCachedAsyncImage.
The app works with no key (demo/mock mode). To use live data, provide a TMDb v3 API key any one of these ways:
- Edit
AppConfig.tmdbAPIKeyPlaceholderinwatched/Services/AppConfig.swift. - Add a
TMDBAPIKeystring to the target's Info settings. - Set a
TMDB_API_KEYenvironment variable in the run scheme.
The Profile tab shows whether the app is running on Demo (Mock) or TMDb Live.
This machine's active developer dir is the Command Line Tools, so point xcodebuild at full Xcode explicitly:
export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
xcodebuild -project watched.xcodeproj -scheme watched \
-destination 'platform=iOS Simulator,name=iPhone 17' buildBundle id: com.sid.watched · Deployment target: iOS 26.5