Swift deep dive

Take your understanding of Swift to the next level. Find out how Swift uses type inference to help you write clean, concise code without compromising type safety. Get to know Swift Numerics, a new Swift package for computational mathematics. Discover what exactly makes code “unsafe” as we take a look at the programming language’s safety precautions — and when you might need to reach for unsafe operations. Then come with us as we delve into unsafe pointer types in Swift.

  • WWDC20

Embrace Swift type inference

Swift uses type inference to help you write clean, concise code without compromising type safety. We’ll show you how the compiler seeks out clues in your code to solve the type inference puzzle. Discover what happens when the compiler can't come to a solution, and find out how Xcode 12 integrates...

  • WWDC20

Explore numerical computing in Swift

Meet Swift Numerics: a new Swift package for computational mathematics. Take a tour of the protocols and types available in the package and find out how you can use them to write generic code. We'll also show you how and when to use the new Float16 type to improve performance and reduce memory...

  • WWDC20

Unsafe Swift

What exactly makes code “unsafe”? Join the Swift team as we take a look at the programming language’s safety precautions — and when you might need to reach for unsafe operations. We’ll take a look at APIs that can cause unexpected states if not used correctly, and how you can write code...

  • WWDC20

Safely manage pointers in Swift

Come with us as we delve into unsafe pointer types in Swift. Discover the requirements for each type and how to use it correctly. We’ll discuss typed pointers, drop down to raw pointers, and finally circumvent pointer type safety entirely by binding memory. This session is a follow-up to...

Related

Enterprise, IT, and apps