The app feels like an iPhone app
Anyone using Seed on a phone wants it to look and behave like the other apps on their iPhone, so nothing about getting around has to be learned.

As a reader, I want Seed to look and behave like the other apps on my iPhone, so that I never have to learn how to get around it.

Situation

I have used an iPhone for years and know how to go back, close a sheet and delete a row. I open Seed for the first time and expect those habits to work.

What I do

    Open the app and look for the tab bar.

    Tap a row or a link to go deeper, then go back.

    Start a task such as creating an identity, and close it with "Cancel".

    Swipe a row I no longer want, and answer the question the phone asks.

    Pull a page down to refresh it, and use the share button in the bar.

What I should see

    A system tab bar with four items, each a symbol over a label: "Read", "Activity", "Agents" and "Me". The selected one is teal.

    The first screen of each tab has a large title: the name of my site, "Activity", "Agents" and "Me".

    Going deeper slides a screen in from the side with the system Back button. Swiping from the left edge goes back too.

    A task opens as a sheet that rises from the bottom and covers the tab bar, with its way out in the bar, for example "Cancel" and "Create" on Create identity.

    Settings are grouped lists with section titles, such as "Identities", "Connections" and "About" on Me.

    With more than one identity, Me says "Tap an identity to use it. Swipe to remove it from this device." and swiping a row offers to delete it.

    Removing an identity asks in a system alert titled "Remove this identity?" with "Remove" and "Cancel".

    A page's actions sit in its navigation bar as symbols, such as the directory, discussion and share buttons on a document. Share opens the system share sheet.

    The app paints only its own content: the reading column, comment bubbles, avatars, cards and badges.

When something goes wrong

    A page cannot load: the page shows "Couldn't reach the server." with a "Retry" button on the same line and "Check your connection, then try again." under it. I tap "Retry", or go back as usual.

Not included

Trace

Story US-APP-01, status Shipped. These links are kept in step with the traceability matrix and with the "User stories" section of every page listed here.

Design

Page

Part it plays

Design philosophy

Section parent: why the app is an iPhone app before it is a Seed app

Leave it unsaid: the platform draws the chrome

The principle behind this story: what is left unsaid so iOS draws it, and what the app paints

The five principles

Principle 1, Leave it unsaid, quoted with its evidence

How the framework shaped the design

The framework rules that make system chrome the default

What changed from the React Native app and why

The before and after: one custom dark stack replaced by tabs, large titles, lists and sheets

Navigation bars and their actions

Title, leading and trailing action of every navigation bar

Stacks, pushes and sheets

Which screens push and which are sheets, Back and dismissal

The four tabs

The system tab bar and its four items

Component toolkit

Toolkit index: named components, platform parts, primitives and inline parts

Primitive elements

Section parent: the 19 Contract tags and what iOS draws for each

main, the app shell

The root element that becomes stacks, sheets and the tab bar

header, footer and nav

How a header becomes a navigation bar with a large title

list and section

The inset grouped list and its sections

button

Bar items, action rows, tabs and alert actions

dialog

System alerts for confirmations

input, textarea, select and label

System fields, the switch and the pop-up menu

image and symbols

System symbols for icons, and pictures

row, column and view

The layout boxes for the content the app paints itself

UI patterns

Section parent: the recurring solutions built from system parts

Lists

The three kinds of list, swipe actions and pull to refresh

Every list in the app

Every list in the app and its style

Cards and panels

The surfaces the app paints itself, and when a card beats a row

Every bar button

Every bar button and the rule for sheets

Confirmations and alerts

The five alerts with titles and buttons

Symbols and icons

Tab symbols and the meaning of each system symbol

Every symbol

The complete table of symbols and where each appears

Me

Grouped list, swipe to remove and the About row used as the example

Create identity sheet

The sheet used as the example of a task

Document and site home

Large title, bar actions and pull to refresh on a page

Implementation

Page

Part it plays

Tech stack

Section parent: the stack that draws UIKit from Contract

The Exact framework

Exact compiles the contracts to a plan that Swift presenters draw as UIKit

Contract views and built-in calls

View elements, navigation attributes and built-in calls such as share and showModal

The Contract language

The language the screens are written in

App structure

Section parent: one root contract, one data module, shared UI

The root contract (app.contract)

The root view: every tab's stack and the tab list

Navigation and routes

Route table, per-tab stacks and the back action

Shared components and visual design

Design principles, tokens and the paint-only-content rule

Me: screens and components

Me: grouped list, swipe to delete and the remove alert

Read: screens and components

Document screen: large title and bar actions

History and the React Native archive

Why the React Native interface was replaced

Current limits and known gaps

iOS only

Contract UI tests

The UI tests that tap tabs, rows and alerts

Code

File

What

app.contract L26-65

routes nav: four tabs and their routes

app.contract L743-749

root main element, navigationBack and the per-tab stacks

app.contract L930-942

the tab list: Read, Activity, Agents, Me with symbols

app.contract L275-280

actions pick, follow and back

read.contract L294-311

DocScreen header: level 1 title and bar buttons

me.contract L62-130

MeScreen: inset grouped list, swipe delete, footer and remove alert

me.contract L249-249

MeCreateScreen declared as a modal sheet

app.json L19-24

iOS host: minimum OS 17.0, iPhone and iPad

DESIGN.md L15-27

The five principles, Leave it unsaid first

Tests

File

What it checks

app.test.contract

"the four tabs are there and each opens"

read.test.contract

"a child document pushes and Back returns home"

me.test.contract

"me: import a phrase, import a key file, switch, remove after asking"

me.test.contract

"me: empty state offers create and import"

Delivery

Delivered by #1470.

Do you like what you are reading? Subscribe to receive updates.

Unsubscribe anytime

Comments