Skip to content
JustSid26Public

About

Native iOS tracker for films and TV built with SwiftUI and SwiftData: watchlists, release reminders, stats dashboard, and on-device recommendations.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Watched 🎬

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.


Features

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

Architecture

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 @Observable view models; SwiftData-backed screens use @Query and write through the injected LibraryManager.
  • Persistence — SwiftData (TrackedItem, UserList) doubles as the offline cache.
  • Networking — async/await URLSession, transparent mock fallback via AppConfig.usesMockData.
  • Images — ImageCache actor (in-memory NSCache + on-disk URLCache) behind CachedAsyncImage.

Configuring the TMDb API

The app works with no key (demo/mock mode). To use live data, provide a TMDb v3 API key any one of these ways:

  1. Edit AppConfig.tmdbAPIKeyPlaceholder in watched/Services/AppConfig.swift.
  2. Add a TMDBAPIKey string to the target's Info settings.
  3. Set a TMDB_API_KEY environment variable in the run scheme.

The Profile tab shows whether the app is running on Demo (Mock) or TMDb Live.


Building

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' build

Bundle id: com.sid.watched · Deployment target: iOS 26.5

About

Native iOS tracker for films and TV built with SwiftUI and SwiftData: watchlists, release reminders, stats dashboard, and on-device recommendations.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages