31 posts tagged ‘Swift Programming Language’
Swift TO Is Closing Down
Kyle Newsome: A lot of forces seemed to work against us this year. This made organizing quite a difficult and emotional challenge at times. Unfortunately this included some mistreatment from Apple’s Developer Relations team. Apple dangled the idea of supporting this conference. They asked for us to send our plans/financials, then ghosted without any explanation. […]
Apple’s Use of Swift and SwiftUI in iOS 17
Alexandre Colucci (Hacker News): Unsurprisingly, there has been a significant increase in the number of apps adopting SwiftUI this year. Notable mentions include: The Preferences app with several of its bundles (StorageSettingsUI, WallpaperSettings, MultitaskingAndGesturesSettings, ThirdPartyApplicationSettings, ActionButtonSettings, …) Several binaries related to Health (Health.app, HealthUI, MentalHealthUI, WorkoutUI, …) The Home app, which appears to have undergone […]
SpamSieve 3.0.1
SpamSieve 3.0.1 fixes almost all of the known issues with version 3.0. It also improves the workaround for the macOS bug where sometimes Mail extensions don’t work at all. So everything that the Mail extension does now has a fallback implementation using AppleScript. Other interesting bugs were: Core Data uniqueness constraint resolution can fail and […]
Unit Testing a SwiftUI Query
Helge Heß: I’ve been wondering whether I could unit test a SwiftData Query, i.e. the SwiftUI property wrapper coming w/ SwiftData (in beta6 it is actually a macro). Aka whether I could unit test a SwiftUI view. This requires setting up an execution environment for the view, but surprisingly that actually works 🙂 Here’s the […]
Rescuing Files From Classic Mac OS...with Swift
Jordan Rose: The biggest benefits of doing this project in Swift are very similar to what the benefits would have been for using C++, back in the 90s, but with even more safety. Take directory walking. In C, this looks something like the following: FSIterator *iter; OSStatus err = FSOpenIterator(&directory, kFSIterateFlat, &iter); if (err != […]
Xcode 15 Duplicate Library Linker Warnings
Daniel Jalkut: Even though I’ve been seeing them all summer, and have been annoyed by them, I made the same mistake I often make: assuming that the problem was too obvious not to be fixed before Xcode 15 went public. Alas. […] Something about the way Xcode infers library linkage dependencies has, for several years […]
Thinking in SwiftUI (2023)
Chris Eidhof and Florian Kugler: In this short book, we will help you build a mental model of how SwiftUI works. We explain the most important concepts in detail and help you build a solid foundation for understanding SwiftUI. Since SwiftUI is a large framework, the book focuses on the concepts behind the framework that […]