InfoQ Homepage SwiftUI Content on InfoQ
News
RSS Feed-
The Swift Composable Architecture Brings the Redux Model to iOS App Development
The Composable Architecture (TCA), which recently reached version 1.13, is an "ergonomic" Swift library that provides a general framework to address commonplace problems when you build an app, including state management, feature composition, side effect management, and testing.
-
Apple Announces its First AI Code Generation Model, Swift Assist
Described as a companion tool for all coding tasks, Swift Assist aims to help developers transform ideas into code and focus on higher-level problems. Powered by a model running in Apple's Cloud, Swift Assist is integrated into Xcode and is able to generate code from a prompt expressed in human language.
-
Swift Asynchronous Programming Recipes on GitHub
Swift developer Matt Massicotte, formerly at Crashlytics and Apple, has recently launched a GitHub repo collecting a number of useful recipes to make it easier to use Swift concurrency and solve recurrent problems, while being aware of the most common traps you can fall into.
-
Transitioning to SwiftUI at Airbnb
In 2022, the iOS team at Airbnb decided SwiftUI was sufficiently mature to be adopted for their official app. This required a careful transition, explains Airbnb staff engineer Bryn Bodayle.
-
SwiftUI 5 Leaves Combine behind, Extends Animations, and More
At WWDC 2023, Apple presented the latest iteration of its declarative framework for UI programming. SwiftUI 5 completely overhauls its reactive foundations by replacing Combine with the new Observation framework. Additionally, it adds support for phased animations, improves ScrollView, new gestures, and more.
-
Apple Introduces SwiftData, a SwiftUI-Ready Core Data Replacement
At WWDC 2023, Apple introduced SwiftData, a new framework that provides a declarative, Swift-first API enabling to work with data persistence in iOS apps. SwiftData can easily make a Swift class into a persistent model and is especially suited to be used with SwiftUI.
-
How Rewriting a C++/ObjC Codebase in Swift Shrank it down to 30%
In a recent article on the Swift language blog, Graphing Calculator's creator Ron Avitzur recounted how his decision to fully rewrite his app in Swift allowed him to shrink its codebase down to 30% of its original size, improving maintainability and readability while not losing performance.
-
SwiftUI Brings Charts, Data-Driven Navigation, and More
At WWDC 2022 Apple has announced a new iteration of SwiftUI, its declarative framework to build UIs for iOS, iPadOS, macOS, and watchOS. Among the most significant highlights are SwiftUI new charting capabilities, refined navigation, new controls, and more.