6 posts tagged ‘Objective-C’
Swift Concurrency in Real Apps
Bryan Jones: Consider this code, wherein we create a custom NSTableColumn that uses an image instead of a String as its header. Holly Borla posted a fix that special-cases NSObject.init(): Now, overriding NSObject.init() within a @MainActor-isolated type is difficult-to-impossible, especially if you need to call an initializer from an intermediate superclass that is also @MainActor-isolated. […]
Xcode 16.2
Apple (downloads): The Command Line Tools package now supports using the swift test command to build and run package tests written with Swift Testing.[…]Sometimes running parallel Tests on macOS run destinations never finishes.[…]macOS projects that use hardened runtime but no sandboxing may run into timeout errors when attempting to preview if the project is complex […]
Apple’s Use of Swift and SwiftUI in iOS 18
Alexandre Colucci (Mastodon, Hacker News): iOS 18 contains 6800 binaries, up from 6030 in iOS 17. That’s 770 new binaries. […] Unsurprisingly, the number of apps adopting SwiftUI continues to grow this year. Notable mentions include:The new Passwords appThe Siri.app which now uses SwiftUIThe Calculator app, which received a notable overhaulThe new Journal app introduced […]
Swift Vision: Improving the Approachability of Data-Race Safety
Holly Borla (via Mastodon, forum): This document lays out several potential paths for improving the usability of Swift 6, especially in simple situations where users aren’t intending to use concurrency at all. […] A key tenet of our thinking in this vision is that we want to drastically reduce the number of explicit concurrency annotations […]
Fantastical 4 and Windows Version
Flexibits (MacRumors): We’ve spent the last 4 years making Fantastical better than ever across Apple devices, and with version 4.0 we decided to go even bigger by finally bringing the world’s best calendar app to a Windows PC near you. For the Mac and iOS versions, it adds a Control Center widget and support for […]
Is Objective-C BOOL a Boolean Type?
Juan Cruz Viotti: While BOOL might look trivial, its definition is rather complex. It depends on which Apple platform and architecture you are targeting, which can result in unexpected behavior. […] Recently, I stumbled into a case where for the same code, macOS Intel and macOS Apple Silicon invoked different overloads. […] As we can […]