![]() ![]() SE-0335: Introduce existential any ( ExistentialAny).SE-0286: Forward-scan matching for trailing closures ( ForwardTrailingClosures).SE-0274: Concise magic file names ( ConciseMagicFile).Swift 5.8 includes upcoming features for the following Swift evolution proposals: To enable a feature, pass the compiler flag -enable-upcoming-feature followed by the feature’s identifier.įeature identifiers can also be used in source code using #if hasFeature(FeatureIdentifier) so that code can still compile with older tools where the upcoming feature is not available. ![]() By default, upcoming features are disabled. Swift 5.8 enables you to start incrementally preparing your projects for Swift 6 by using upcoming features. The Swift community also maintains a number of translations. This is the official Swift guide and a great entry point for those new to Swift. The Swift Programming Language book has been updated for Swift 5.8 and is now published with DocC. Your Swift Forums discussions, bug reports, pull requests, educational content, and other contributions are always appreciated!įor a quick dive into some of what’s new in Swift 5.8, check out this playground put together by Paul Hudson. Thank you to everyone in the Swift community who made this release possible. Swift 5.8 is now officially released! □ This release includes major additions to the language and standard library, including hasFeature to support piecemeal adoption of upcoming features, an improved developer experience, improvements to tools in the Swift ecosystem including Swift-DocC, Swift Package Manager, and SwiftSyntax, refined Windows support, and more. Alexander Sandberg is an iOS and macOS developer and a member of the Swift Website Workgroup. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |