From Zero to Mobile Developer in 45 Minutes With SwiftUI


Apple's SwiftUI framework has revolutionised developing native iOS/iPadOS. Gone are the storyboards, XML files, and event handlers that you used to have to wrestle with – everything is created by writing Swift code. SwiftUI apps are built by composing state-driven views, and so how you handle state is key.

This session will teach you how to build your first mobile application using SwiftUI (with a dash of Realm to manage your data). It's aimed at experienced developers who are new to mobile or to SwiftUI – or those interested in how Realm and MongoDB can be integrated into your SwiftUI apps.

I'll start with a brief tour of the anatomy of a mobile app – covering both the backend and frontend components.

The bulk of the session will be devoted to a hands-on demonstration of building a simple chat app. The app lets users register, login and then join a chatroom of their choice. Once in a chat room, users can share messages with other members. I'll start by creating the Atlas cluster and backend Realm app, before coding and testing the mobile app.

While the app is simple, it solves some complex distributed data issues, with real-time syncing of data between your backend database and your mobile apps. Realm is also available for other platforms, such as Android, and so the same backend and data can be shared with all versions of your app.

Scheduled on Monday from 10:50 to 11:40 in Exec Room

Mobile Development

Andrew Morgan


Andrew started his career developing real-time database software before eventually moving into product management for MySQL/Oracle. In 2015, he jumped at the chance to join MongoDB as a product marketeer, and he's since wormed his way back into software development. His current role is to develop and build content around mobile apps using Realm.