Swift 6.4
What's new in Swift 6.4
Explore focused improvements to Swift's language and compiler, with concise explanations and practical examples.
Highlighted features
01 · Compiler diagnostics
Optional
Async calls in
@diagnose
Ignore, enable, or promote specific warning groups inside a declaration.
02 · Type syntaxOptional any and some
Write optional existential and opaque types without extra parentheses.
03 · ConcurrencyAsync calls in defer
Call asynchronous functions while performing deferred cleanup.
04 · ConcurrencyWarnings for unhandled task errors
Catch errors that could otherwise be silently ignored inside an unstructured task.
05 · AvailabilityanyAppleOS availability
Mark APIs as available across all Apple platforms with one shared OS version.