Peter Steinberger

Mobile at a Crossroads: The Declarative UI App Revolution

Stop modifying your UI. In the declarative world of SwiftUI and Jetpack Compose, rebuilding from scratch is the key to simpler, bug-free apps.

Mobile at a Crossroads: The Declarative UI App Revolution
#1about 5 minutes

The fundamental shift from imperative to declarative UI

Declarative UI frameworks rebuild the interface from scratch based on state changes, which eliminates a whole class of state-related bugs.

#2about 1 minute

Exploring the origins of declarative UI with React Native

React Native pioneered declarative UI on mobile by bringing web development concepts to native apps, but its adoption is polarizing due to its custom setup.

#3about 2 minutes

Understanding Google's cross-platform approach with Flutter

Flutter aims for high-performance, cross-platform UIs with hot reload, though its use of the Dart language and initial performance issues were drawbacks.

#4about 2 minutes

The advantages of first-party declarative UI frameworks

First-party frameworks like Swift UI and Jetpack Compose get day-one support for new OS features, making them essential for staying current.

#5about 4 minutes

A deep dive into Google's Jetpack Compose framework

Jetpack Compose is an unbundled, open-source framework for Android that offers excellent backward compatibility and allows for gradual adoption in existing apps.

#6about 6 minutes

An overview of Apple's Swift UI framework

Swift UI is Apple's declarative framework that is deeply integrated into the OS, but its early versions were buggy and incomplete, especially on macOS.

#7about 2 minutes

Navigating the challenges of Swift UI versioning

Because Swift UI is bundled with the OS, developers must maintain multiple code paths to work around bugs and missing APIs in older iOS versions.

#8about 12 minutes

Live demo building a counter in Jetpack Compose and Swift UI

A side-by-side coding demonstration reveals the striking similarities in syntax and state management between Jetpack Compose and Swift UI.

#9about 1 minute

Improving collaboration between iOS and Android teams

The similar structure of Swift UI and Jetpack Compose makes it easier for mobile teams to share architecture and review each other's code.

#10about 2 minutes

Sharing business logic with Kotlin Multiplatform Mobile

Kotlin Multiplatform Mobile (KMM) complements declarative UI frameworks by enabling teams to share business logic between iOS and Android apps.

#11about 1 minute

Why the future of mobile app development is declarative

Swift UI and Jetpack Compose are the future for native app development, offering better performance, team collaboration, and access to the latest platform features.

#12about 6 minutes

Audience Q&A on layouts, learning, and packages

The Q&A covers managing phone and tablet layouts, the time it takes to become proficient, and finding third-party packages for Swift.

Related jobs
Jobs that call for the skills explored in this talk.

Featured Partners

From learning to earning

Jobs that call for the skills explored in this talk.