The projects we write in Swift
Projects from the portfolio and the case studies, each with a short note on what this language does in it.
-
Flaem: iOS app A panel client with a notification feed and home-screen widgets.See the project -
Plazer: iOS app A native SwiftUI client: the session in the Keychain, live messages over WebSocket and the same logic layer as on Android.See the project -
kite A Scheme interpreter with call/cc, hygienic macros and a REPL.See the project
When we choose it, and when we do not
Where we use it
- 01
Native iOS apps
Flaem and Plazer have SwiftUI apps on iOS that look and behave like the rest of the system. The Flaem client covers the panel with a notification feed, Plazer its live conversations over WebSocket.
- 02
Notifications through APNs
A native app gets notifications through APNs even when it is closed, and a tap opens the right screen. An admin lands straight on the server that has a problem.
- 03
Widgets in WidgetKit
Widgets on the iPhone home screen can only be built with WidgetKit, which means Swift. The Flaem client shows the key information in them without opening the app.
- 04
The session in the Keychain
Plazer keeps the session in the iOS Keychain, not in an ordinary app file. Access to the sign-in data is guarded by the system.
- 05
The same logic as on Android
Plazer on iOS uses the same logic layer as on Android, and SwiftUI only draws the interface. A change in the logic reaches both phones.
- 06
A library and a program in one package
The kite interpreter keeps the whole Scheme language in the KiteCore library, and the REPL is a separate, thin program in the same Swift package. XCTest checks every layer. We generate Xcode projects from a file with XcodeGen, so several people do not fight over the project file.
When we choose something else
- 01
An Android app
On Android, widgets, FCM notifications and Jetpack Compose are handled by Kotlin code. Flaem and Plazer have separate Kotlin apps there.
- 02
The same features on many platforms
When iOS is one of several platforms with the same features, one codebase in React Native with TypeScript costs less. We pick Swift when the app needs what only iOS has.
- 03
A first version without the store
A TypeScript web app reaches people right after deployment, with no App Store review. To test an idea that is usually enough.
- 04
Cryptography and the protocol
Plazer's encryption core is in Rust and has one implementation for every app. A second copy in Swift would mean a second protocol to check.
- 05
The app's back end
Swift runs on servers too, but the services the apps we build talk to are in Go or Rust. The Plazer hub is in Go, and the Flaem core in Rust.
- 06
A program for Mac, Windows and Linux
We write a desktop program that must also run on Windows and Linux in C# with Avalonia. That is how the Flaem and Plazer desktop apps were built.
Swift or something else
A technology has to fit the place the code will run and the team that will take it over. The final choice is made in the quote, together with you.
| iOS client | Native Swift | Web app |
|---|---|---|
| Notifications | APNs with full control | web push once installed |
| Widgets | yes | no |
| Time to a first version | longer, with App Store review | shorter |
| Sign-in data | the iOS Keychain | browser storage |
| Shipping a fix | after App Store review | right after deployment |
| Background work | iOS background tasks | in practice only with the app open |
| Hardware to build on | a Mac with Xcode | any computer |
The libraries these projects stand on
From the dependency files of our repositories. With each, one sentence on what we use it for.
-
SwiftUIthe app interface -
WidgetKithome-screen widgets -
XcodeGenthe Xcode project generated from a file -
XCTestlogic tests
Frequently asked questions
Answers about Swift and our projects.
- How much does an iPhone app cost?
- A mobile app starts at PLN 3,999 (about EUR 900) and usually takes 2-4 months. We write it in Swift, Kotlin or React Native, depending on which phones it has to run on.
- Do you build iOS apps without a Mac?
- The code and the logic tests are written on any computer, but we sign and publish to the App Store on a Mac with Xcode, because Apple requires that of every iOS app.
- Swift or React Native: which to choose?
- Swift when the app needs what only iOS has: widgets, background work and full control over notifications. React Native when iOS is one of several platforms with the same features, because one codebase costs less.