enum UNAuthorizationStatus { case notDetermined case denied case authorized case provisional + case ephemeral } iOS 13 までを想定して作ったアプリ import UserNotifications switch settings.authorizationStatus { case .notDetermined: /* ... */ case .denied: /* ... */ case .authorized: /* ... */ case .provisional: /* ... */ } 17
public struct MyStructure { + var value: NonSendableValue } var s = MyStructure() await doOnAnotherActor(s) s.doSomething() error: sending 's' risks causing data races [#SendingRisksDataRace] 34
Target https://developer.apple.com/documentation/packagedescription/target Swift Compiler https://www.swift.org/documentation/swift-compiler/ Whole-Module Optimization in Swift 3 https://www.swift.org/blog/whole-module-optimizations/ 75
https://github.com/swiftlang/swift-evolution/blob/main/proposals/0260-library-evolution.md Library Evolution in Swift https://www.swift.org/blog/library-evolution/ Library Evolution Support in Swift ("Resilience") https://github.com/swiftlang/swift/blob/main/docs/LibraryEvolution.rst 78
the file of .swiftmodule?how to open it? https://forums.swift.org/t/whats-in-the-file-of-swiftmodule-how-to-open-it/1032/2 Underscored Attributes Reference https://github.com/swiftlang/swift/blob/main/docs/ReferenceGuides/UnderscoredAttributes.md A Swift Guide (WebKit Wiki) https://github.com/WebKit/WebKit/wiki/A-Swift-Guide 83
in /usr/lib on Big Sur? https://developer.apple.com/forums/thread/655588 Dynamic Library Design Guidelines https://developer.apple.com/library/archive/documentation/DeveloperTools/Conceptual/ DynamicLibraries/100-Articles/DynamicLibraryDesignGuidelines.html 84