InfoQ Homepage Swift Content on InfoQ
-
AWS CodeArtifact Now Supports the Swift Package Manager
AWS-based software artifact repository CodeArtifact now supports the Swift Package Manager, in addition to Maven, NuGet, npm, pip, and others. This allows developers to store and retrieve Swift packages using Apple's official package manager just like they do when using other repositories.
-
Reddit Adopts Server-Driven UI for Its New Feed Architecture across Mobile Apps
Reddit reworked its feeds functionality in the iOS mobile app and introduced it to the Android app. In both cases, they used the Server-Driven UI (SDUI) as their communication approach, which allows localized content layout changes without mobile app releases.
-
Swift 5.9 Brings Macro Expansion Power to the Language
Introduced at WWDC 2023, Swift 5.9, now available in beta, brings a major extension to the language capabilities through support for generating code at compile-time using macros.
-
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.
-
Swift OpenAPI Generator Aims at Streamlining HTTP Client/Server Communication
Apple has introduced a new open source package, the Swift OpenAPI Generator, aimed at generating the code required to handle client/server communication through an HTTP API based on its OpenAPI document.
-
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.
-
GitHub Announces Code Scanning and Security Advisory Support for Swift
GitHub has launched code scanning support for Swift in beta and announced it will include Swift security advisories in its Advisory Database to extend the capabilities of its Dependabot vulnerability monitor.
-
Swift 5.8 Adds Function Back-Deployment and Upcoming Feature Support
The latest release of Swift introduces support for piecemeal adoption of upcoming features, which allows developers to start using new features that will become stable in Swift 6. Additionally, it opens the way for making new features retroactively available in earlier OSes.
-
The Swift Package Index Now Backed by Apple
The Swift Package Index was created about three years ago by Dave Verwer and Sven A. Schmidt, with the aim of making it easier for Swift developers to search and discover Swift packages. The project is now officially sponsored by Apple, thus making it the official place to go for anything related to Swift packages
-
Server-Side Swift Gets Swift Certificates and Swift ASN.1 Packages
The Swift team has just released two new server-side packages that aim to provide developers with a faster and safer implementation of X.509 certificates, including their underlying ASN.1 DER encoding/decoding mechanism.
-
The Ten Year Journey of Facebook's App for iOS
Facebook rewrote its iOS app in 2012 to take advantage of native performance and improve reliability and usability over its previous HTML5-based cross-platform implementation. In the ten years since the rewrite, the app codebase has evolved non-stop to account for the introduction of new features, to circumvent SDK limitations, and to keep up with changes in the iOS platform.
-
Apple Announces Full Swift Rewrite of the Foundation Framework
The Swift team has started to work on a new open-source implementation of the Foundation framework. To be written entirely in Swift, the new Foundation aims to improve performance by getting rid of conversion costs between Objective-C and Swift as well as to provide the opportunity for modularizing and clean it up.
-
Swift to Add Support for Ownership, Macros, and C++ Interop
The Swift language workgroup has detailed the main focus areas for the development of Swift in 2023 and further on, which include defining an ownership model for memory management, non-copyable types, a macro system, and C++ interoperability.
-
AWS Amplify for Swift Reaches 2.0, Brings Async/Await and macOS Support
Previously known as AWS Amplify iOS, AWS Amplify for Swift now offers a rewritten API to support Swift async/await and make concurrency code more idiomatic. Additionally, the new release introduces beta support on macOS for a number of AWS features, including Auth, Storage, Geo, and others.
-
Swift 5.7 Brings New Generics Implementation and Reference Counting Improvements
Announced at WWDC 2022, Swift 5.7 is now officially available. It includes major improvements to the compiler internals, and many syntax and standard library additions, including String regex, concurrency updates, and more.