[an error occurred while processing this directive] Swift deep dive - WWDC20 - Apple Developer [an error occurred while processing this directive]

Swift deep dive

Swift icon

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.

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...

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...

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...

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...

Refine Objective-C frameworks for Swift

Fine-tune your Objective-C headers to work beautifully in Swift. We’ll show you how to take an unwieldy Objective-C framework and transform it into an API that feels right at home. Learn about the suite of annotations you can use to provide richer type information, more idiomatic names, and...

Related

Enterprise, IT, and apps