InfoQ Homepage Swift Content on InfoQ
-
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.
-
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.
-
JFrog Artifactory Supports Binary Dependencies for Swift
JFrog has announced its Artifactory repository can be used as a binary package registry for Swift dependencies using the Swift Package Manager.
-
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.
-
An Overview of Apple's Unified Logging System in Swift
In a recent series of articles, iOS independent developer Majid Jabrayilov focused on the importance of logging to enable the analysis of bugs hard to catch in the debugger as well as to better understand user behaviour through the app.
-
Kotlin 1.6.20 Brings Definitely Non-Nullable Types, Standalone Android Executables, and More
Kotlin 1.6.20 brings many new features, including standalone Android executables, extended context receivers, native parallel compilation, definitely non-nullable types, and much more.
-
SwiftLint Now Supports Swift 5.6
The latest stable release of SwiftLint brings support for Swift 5.6 and Xcode 13.3 to developers and organizations aiming for better code consistency. Additionally, a pre-release version integrates SwiftSyntax as a replacement of SourceKit.
-
Swift 5.6 Enhances Type Inference, Introduces Existential Any, and More
Swift latest release, Swift 5.6, introduces partial type annotations that work as hints to the type inference engine, disambiguate the syntax for existential types, and improve pointer interaction.
-
How Slack Modernized its Mobile Apps and Went Full Swift on iOS
Slack succeeded in the effort to bring their iOS and Android apps up-to-date and adopt new design trends. Among other things, this enabled a full switch to Swift for iOS and breaking the existing monoliths.
-
AWS Finally Gets Official SDKs for Rust, Kotlin, and Swift
Previewed at Re:invent, the new AWS SDKs for Rust, Kotlin, and Swift provide idiomatic wrappers around AWS APIs that will allow developers to interact with AWS services in a more familiar and consistent way.
-
Swift Playgrounds 4.0 Enables Creating iOS Apps Using an iPad
With its latest update to Swift Playground, Apple has made it possible for the first time to create iPhone and iPad apps using an iPad. Developers can build and submit Swift 5.5 apps using SwiftUI and the Swift Package Manager, as well as additional features.