Template · Education

Language App SwiftUI Template

Parla, a language course you play: a complete Xcode project with a lesson path, chunky word exercises, a talking coach, passport stamps, streaks, widgets and three brand presets. 17 screens and 4 flows in Parla, as a SwiftUI app template.

A language app on three tabs. First run is hosted by Pip, the coach: pick a language, why you're learning, your level and a daily goal, allow a reminder, sign in with Apple or carry on without an account, then Parla Plus on StoreKit 2. Learn is the course as a winding path; a lesson is a run of word-tile exercises with instant feedback that ends in confetti, and the day's first one grows your streak; finishing a unit presses a stamp into your passport. Words reviews what you've met with spaced repetition, and Passport keeps your stamps, streak, settings and the subscription.

  • SwiftUI
  • iOS 17.0+
  • Xcode project 1.0.0
  • language-app
17 Screens4 Flows
Get SwiftPieces Pro

$199 once, every piece included. See how installing works · Sign in

01

Flows

Complete journeys through Parla, from first launch to sign out, screen by screen. Open one to play it, or choose any screen to start there.

The first 3 steps of every flow are open. Pro opens every screen of every template, live in each style, and the SwiftUI to build them.

01 · Onboarding

First Run

Pip asks for your language, your reason, your level and a daily goal, offers a reminder and an account, then Parla Plus, and lands you on the path.

9 Screens14 Steps
Play the flow
  1. 01Hello
  2. 02Pick A Language
  3. 03Why You're Learning
  4. 04Your Level
  5. 05Pick A Daily Goal
  6. 06Set A Reminder
  7. 07Allow Notifications
  8. 08Reminder Declined
  9. 09Sign In
  10. 10Sign In With Apple
  11. 11Parla Plus
  12. 12Purchasing
  13. 13You're In
  14. 14The Path

02 · Core Journey

Play A Lesson

From the path into Asking directions: a hint, a right answer and a correction, the confetti finish, the streak moment and, two stops on, a new passport stamp.

5 Screens12 Steps
Play the flow
  1. 01Learn
  2. 02Switch Course
  3. 03Unit Guide
  4. 04Start A Stop
  5. 05Tap For A Hint
  6. 06Right Answer
  7. 07A Correction
  8. 08Lesson Complete
  9. 09Streak Moment
  10. 10Back On The Path
  11. 11A New Stamp
  12. 12The Stamp

03 · Core Journey

Review Your Words

Practice the words that are due in a review round, then meet the free plan's one round a day.

4 Screens7 Steps
Play the flow
  1. 01Words
  2. 02Hear A Word
  3. 03A Review Round
  4. 04Three In A Row
  5. 05Round Complete
  6. 06All Caught Up
  7. 07Review Again With Plus

04 · Profile And Settings

Profile And Settings

From Passport's gear to Settings: the daily goal, the theme and the presets Plus unlocks, Parla Plus and signing out.

6 Screens9 Steps
Play the flow
  1. 01Passport
  2. 02Settings
  3. 03Lessons, Goal And Course
  4. 04Daily Goal
  5. 05Theme
  6. 06Unlock With Plus
  7. 07Sign Out
  8. 08Signing Out
  9. 09Back To First Run

02

Screens

Every screen in Parla, 17 in all, each a SwiftUI view in the Xcode project. In Confetti, Sol and Editorial, light and dark.

First run

Welcome, permissions and the questions that set the app up.

  • Hello

    Pip introduces itself with hellos in Spanish, French and Italian, and Get started begins first run.

  • Pick A Language

    Pick Spanish, French or Italian from tactile tiles with drawn flags, each with its units and lessons.

  • Why You're Learning

    Pick every reason that applies: travel, family, work, culture or keeping sharp.

  • Your Level

    Say how much of the language you know already, from a few words to holding a conversation.

  • Pick A Daily Goal

    Choose five to twenty minutes a day, each shown with the XP it stands for.

  • Set A Reminder

    See the daily reminder as it will arrive, pick a time of day and allow notifications, or skip it.

Account and subscription

Sign in, verification and the paywall.

  • Sign In

    Sign in with Apple to back up your streak, stars and stamps, or continue without an account.

  • Parla Plus

    See what Plus adds, pick the yearly or monthly plan, and start the free week or restore a purchase.

Tabs

Where the app opens, one screen per tab.

  • Learn

    Follow the course as a winding path of stops and start the current one from its card.

    Built onPath

  • Words

    Browse every word met by unit with its strength, hear one, and practice the ones that are due.

  • Passport

    See the streak and its week, XP, words and time, and a stamp for every unit finished.

    Built onPassport

Details and sheets

What the tabs push and present.

  • Lesson

    Build each sentence from word tiles, tap a word for its hint, and check it for instant feedback.

    Built onPractice

  • Lesson Complete

    A round ends in confetti with its stars, XP, accuracy and time.

    Built onPractice

  • Streak

    After the day's first round the flame grows, the streak counts up and today's circle fills.

Profile and settings

The account, preferences, the subscription and sign out.

  • Settings

    Manage Parla Plus, how lessons play, the daily goal and reminder, the course, the theme and signing out.

    Built onSettings

  • Daily Goal

    Change the daily goal on the list the Daily goal row pushes.

    Built onSettings

  • Theme

    Pick Confetti, Sol or Editorial and the appearance; Sol and Editorial come with Plus.

03

Built from the library

The library screens this template wires together, in the order someone meets them. Each one installs on its own too.

First run

Pip asks for your language, your reason, your level and a daily goal, then the reminder permission, an account with Sign in with Apple (or none) and Parla Plus on StoreKit 2. Runs once, then records completion.

Tabs

Learn, Words and Passport on Parla's chunky tab bar. Learn is the Path; Words is every word you've met with a practice deck; Passport is your stamps and streak, with Settings behind its gear.

From the tabs

A stop plays as Practice exercises and ends on a confetti finish and the streak moment; Words runs its review rounds in the same exercises.

04

What's included

SwiftUI source you own, built on Apple frameworks only.

  • The course as a winding path of lessons, with the next one bouncing
  • Word-tile exercises with a talking coach and instant feedback
  • A confetti finish, then a streak moment for the day's first lesson
  • A stamp in your passport for every unit you finish
  • Words to review, scheduled by spaced repetition
  • Streak and Next lesson widgets
  • Three presets: Confetti, Sol and Editorial

Includes

Path, Practice, Passport, Settings. Installed together, automatically.

Requires

In-App Purchase capability

In the Build Kit

Language Learning (brief). Your agent builds around this template in the same design.

05

Implementation notes

How it behaves, what it handles, and the decisions behind it.

LanguageApp is one root view. On first launch Pip, the coach, hosts Parla's first run from a speech bubble at the top of each step: a hello in three languages, the language on tactile tiles with drawn flags, a daily goal, then Parla Plus on StoreKit 2. Closing, purchasing or restoring finishes first run and records it under a completion key, so the root switches to the app on its own.

The app sits on three tabs under Parla's own chunky tab bar: a white bar on a 2pt rule where the selected tab stands on a tactile tile with its icon in its own color. It is a TabView with the system bar hidden, so each tab keeps its own stack. Learn is the Path screen: the course as a wave of stops you press, unit banners that pin and hand over, Pip beside the current stop, and a card that pops from a stop with Start. A lesson is the Practice screen, full screen: build each sentence from word tiles, check it, and the last one ends in confetti with stars, XP, accuracy and time. The day's first round then ends on the streak moment, where the flame swells, the count rolls over and today's circle fills. Words lists everything you've met by unit, each with a strength meter, under a deck of the words due and Practice. Passport is the Passport screen: the streak, your totals, a stamp per unit, and a gear that pushes the Settings screen. Finishing a unit's checkpoint lands its stamp there with a thud.

Adapting it

  • Products: pass your App Store Connect ids as productIDs. Until they exist, the paywall shows Pip wincing over "Plans didn't load", and its close key still finishes first run.
  • Your course: units, stops and sentences come from LanguageAppSample at the top of LanguageApp.swift. A unit is a PathUnit with its block; each stop plays a list of SentenceExercises (the prompt, the answer as it should read, distractor tiles and the words it teaches).
  • Progress: LanguageAppModel keeps it in memory, and finish(_:result:) is the one place a round is recorded: the stop's stars, the next stop current, the day's XP, the streak and, at a checkpoint, the unit's stamp. Move it to your own store when you have one.
  • Theme: everything follows the theme you set on LanguageApp. Without a brand it wears Parla Confetti; SPBrandTheme(.parlaSol) or .parlaEditorial change the ground, blocks, type and motif at once, while the tactile keys and Pip stay.

The Xcode project

The download is a complete project on Tuist: Spanish for English speakers in full (three units of six stops, sixty words, every sentence written for the template) with a unit each of French and Italian, kept as data; progress in SwiftData behind a repository protocol, with five weeks of sample progress ending yesterday; spaced review of every word met (ReviewScheduler), with one free round a day; Pip's longer first run (why you're learning, your level, the reminder permission and its declined state, and an account with Sign in with Apple before Parla Plus); Parla Plus on AppCore's purchase store, which opens the third unit, unlimited review and the Sol and Editorial themes; speech in the course's voice at the speed you choose; Settings for voice speed, accents, sounds, haptics, the goal, the reminder and the course; Streak and Next lesson widgets with parla:// links; three presets; unit tests for scheduling, sentence checking, the course data, the stats and the store, and a first-run UI test.

Notes

  • Not @main: put LanguageApp() in your own WindowGroup.
  • Enable the In-App Purchase capability before testing purchases.
  • Sentence checking forgives case and punctuation, and accents when accent forgiveness is on. Ñ always counts.
  • XP, a daily goal, a streak, stars, a combo and stamps are the whole reward system: a missed sentence comes back once at the end of the lesson, and that's all.
  • Previews ship with the file: first run, home, and home in each Parla preset.