Sink Deep

Sink Deep

Memorize scripture the way a coach trains an athlete: start easy, take the training wheels off one round at a time, and come back right before you forget.

Download Sink Deep on the App Store Download Sink Deep on the App Store

The name comes from Ezekiel 3:10, “let all my words sink deep into your own heart first” (NLT). Sink Deep 1.0 shipped on the App Store in October 2026, six months after the first commit.

My Verses list with verses ready to start and in progress Fill in the blank exercise with a word bank Progress tab with streak, accuracy and mastery

The Problem

Memorizing a verse is easy for a day and hard for a year. Most approaches fall into one of two camps:

  • Flashcards, which test recall but don’t help you learn the verse in the first place
  • Reading plans, which build familiarity but never check whether anything stuck

Sink Deep was built to do both: walk someone through learning a verse, then bring it back at the right moment to keep it.


Product Goals

  • Make learning a new verse feel achievable in a single sitting
  • Schedule reviews automatically, so the app decides when and the person just shows up
  • Find verses quickly: browse the whole Bible, search, or start from curated lists like Romans Road
  • Sync across devices with no sign-in screen
  • Keep it free: no ads and no paywall, with an optional tip jar

How It Works

Learn. A new verse runs through a ten-step session. Read it once, then alternate between fill in the blank (pick hidden words from a word bank) and first letters (type each hidden word from its first letter) as 25%, 50%, 75% and finally 100% of the words disappear. The session ends with full recall: type the whole verse from memory.

Review. Each session produces a 0–5 score that feeds a simplified SM-2 spaced-repetition scheduler. Verses you know well come back less often, and the session itself gets shorter as a verse moves from learning to reviewing to mastered. A mastered verse is a single full recall.

Keep going. Multiple daily reminders, an app icon badge for verses due, Home Screen widgets for your streak or next verse, and a Progress tab with streaks, accuracy and mastery breakdowns.


Architecture

UI Layer

  • SwiftUI throughout, organized by feature folder (My Verses, Memorize, Search, Progress, Settings)
  • TabView with .sidebarAdaptable and NavigationSplitView inside tabs for iPad and resizable windows
  • Selectable themes backed by namespaced asset-catalog colors, plus alternate app icons

Pattern

  • MVVM with @Observable view models
  • An AppCoordinator owns tabs, navigation paths, split-view selection and sheets, so views describe what and the coordinator decides where

Data

  • SwiftData models mirrored to the user’s private CloudKit database
  • Settings synced through iCloud key-value storage
  • Scripture from API.Bible through a small home-grown async/await networking layer

Extensions

  • WidgetKit widgets driven by App Intents, reading a snapshot the app writes to a shared App Group

iPad split view My Verses on iPad: the sidebar list and practice session live side by side in one NavigationSplitView.


Technical Highlights

  • Two-layer memorization engine: an exercise pipeline that only produces a quality score, and an SM-2 scheduler that only consumes one
  • First-attempt-only scoring, so retrying until it’s right can’t game the review schedule
  • Range selection for passages (tap to anchor, tap to extend) as a small, fully unit-tested value type
  • iCloud sync with deduplication that merges the strongest spaced-repetition state when two devices add the same verse offline
  • Escalating local notification badges and multiple daily reminders
  • Review, share and tip prompts that share one throttle so they never stack up
  • 125 Swift Testing tests covering the scheduler, exercise engine, coordinator, sync merge logic and prompts

Engineering Challenges

CloudKit Without Unique Constraints

CloudKit can’t enforce uniqueness, so duplicates are expected, not a bug. A deduplication pass on every launch and foreground merges them and sweeps review sessions that arrive after their verse was already merged away.

A Widget That Crashed the App

The first widget opened the same CloudKit-mirrored SQLite store as the app, and the OS killed the app (0xdead10cc) when both processes touched it at once. The fix was to stop sharing the store: the app now writes a small Codable snapshot for the widget to read.

One Split View for Every Size

Branching between NavigationSplitView and NavigationStack on size class would rebuild the view every time an iPad window was resized, throwing away an exercise in progress. A single split view with preferredCompactColumn keeps state intact at every width.

Testing SwiftData on a Beta Toolchain

Any ModelContext call crashed inside Swift Testing on the beta toolchain. Pulling the merge logic into pure functions over plain arrays made it testable without touching a container at all.


What I Would Improve Next

  • Finish the Cloudflare Worker backend that sits between the app and API.Bible, with retries and per-environment keys
  • Add opt-in, non-identifying usage statistics to learn which features actually help people memorize
  • Move verse loading out of the Bible browser views into a view model
  • User-created verse lists

Reflection

Sink Deep was built with an AI pair programmer from its first weeks. The habits that mattered most were old ones:

  • Verify on a real device, because a clean build says nothing about UX
  • Keep the interesting logic pure so it can be tested
  • Ask whether a state should exist at all before polishing it
  • Write down what I learned while it’s fresh