WWDC2021 - What's new in Swift

WWDC2021 - What's new in Swift

Diversity

社区多样性
Diversity in Swift
Swift Mentorship Program
Forums
Community Showcase

Update on Swift packages

package直接内置到Xcode13里


image.png

image.png
  • Meet the Swift Algorithms and Collections packages

Update on Swift on Server

image.png

Developer experience improvement

1.Swift DocC


image.png
  • Build interactive tutorials using DocC
  • Elevate your DocC documentation in Xcode
  • Host and automate your DocC documentation
  • Meet DocC documentation in Xcode

2.Build Improvement


image.png
image.png

image.png
  1. Memory Management


    image.png

    image.png
  • ARC in Swift: Basics and beyond

Ergonomic improvements

SwiftUI


image.png

Enum


image.png

Property wrappers


image.png

Async/await

  • Meet async/await in Swift

Structured concurrency


image.png
  • Swift concurrency: Behind the scenes

Actor


image.png
  • Protect mutable state with Swift actors

你可能感兴趣的:(WWDC2021 - What's new in Swift)