Developers
Your own app, built in.
Every app in Littleletter Glance — Writer, Messages, Calendar, Drive, Maps and the rest — is built the way yours would be: a small service of its own that joins the suite when it starts. You bring what your app does. Everything people expect from a suite comes with it.
Four steps
-
Describe it
Give it a name, an icon and a colour, and say what it keeps: plants, invoices, tickets. Add the widgets it offers for Glance, the bell lines it may ring, the files it can open. The suite reads that description when your app starts and fits it in everywhere.
-
Write what it does
Only your own logic and your own data. The kit that comes with the suite joins it, tells your app who is asking, keeps it known as running and hands out its screens — your app never deals with passwords, sessions or permissions.
-
Draw its screens
With the same components and colours as every other app, so it looks built in. Your buttons go into the suite’s header, and on a phone they fold away the way you say. Light and dark, mouse and finger come along.
-
Run it beside the suite
It is a small service of its own, with its own database. Tell the suite its name and its secret — one entry in the deployment — and it appears for everyone: in the app rail, in ⌘K, on Glance.
What your app gets without writing it
- Sign-in and accountsPeople sign in once; your app always knows who is asking.
- SharingYour things can be shared with people, groups and organisations, by the suite’s rules.
- SearchWhat your app keeps is found in the one search, by whoever may see it.
- The bell and mailYour app rings; the suite tells people, and mails them as they chose.
- CommentsEvery thing of yours can be talked about, with mentions and threads.
- Glance and widgetsYour widgets sit on people’s start page beside everyone else’s.
- ⌘K and SettingsYour app’s actions in the palette; its preferences in the one Settings page.
- PhonesFull screen, sheets, a bottom bar — the suite’s, around your screens.
- Private affairs“Download all my data” and “Delete me” reach your app too.
How the suite is built
One front door, a suite that keeps the shared rules, and apps that each run on their own. They talk over one message line, so an app can be updated, scaled or restarted without the others noticing.
- One address. People open your app inside the suite. Its screens come from the suite’s own address, so they sign in once and nothing runs from anywhere else.
- The suite keeps the rules. Who may see a thing, who may change it, who hears about it: your app hands the suite a short summary of each of its things, and the suite answers for sharing, search, the bell and Glance — quickly, even while your app restarts.
- Its own data. Every app has a database of its own. It never reads another app’s, and the suite never reads yours. When people delete their account, the suite asks your app to forget them.
- Nothing gets lost. What happens in the suite — a share, a comment, something deleted — reaches your app, once it is back if it was away.
- On its own. An app needs no other app. It can lend its things to others by type — a place to the map, a date to the calendar — and open files other apps keep, without naming them.
- Alive or away. When an app stops answering, its icon dims and its screen says it will be back; updates never show as away. Each app can run as many copies as it needs.
Start from a real one
The kit, its guide and every app of the suite are open to read: the smallest, Reminders and Company, each show a whole app — its server, its screens and how to run it. Copy one, rename it, and make it yours.