WWDC24: A Swift Tour: Explore Swift’s features and design | Apple
HTML-код
- Опубликовано: 30 сен 2024
- Learn the essential features and design philosophy of the Swift programming language. We’ll explore how to model data, handle errors, use protocols, write concurrent code, and more while building up a Swift package that has a library, an HTTP server, and a command line client. Whether you’re just beginning your Swift journey or have been with us from the start, this talk will help you get the most out of the language.
Discuss this video on the Apple Developer Forums:
developer.appl...
Explore related documentation, sample code, and more:
Wrapping C/C++ Library in Swift: www.swift.org/...
Value and Reference types: www.swift.org/...
Tools used: Windows: www.microsoft....
Tools used: Visual Studio Code: code.visualstu...
Tools used: Ubuntu: ubuntu.com/des...
The Swift Programming Language: docs.swift.org...
Embrace Swift generics: developer.appl...
Design protocol interfaces in Swift: developer.appl...
Explore structured concurrency in Swift: developer.appl...
Write a DSL in Swift using result builders: developer.appl...
Expand on Swift macros: developer.appl...
Meet Swift Regex: developer.appl...
00:00 - Introduction
00:51 - Agenda
01:05 - The example
01:32 - Value types
04:26 - Errors and optionals
09:47 - Code organization
11:58 - Classes
14:06 - Protocols
18:33 - Concurrency
23:13 - Extensibility
26:55 - Wrap up
More Apple Developer resources:
Video sessions: apple.co/Video...
Documentation: apple.co/Devel...
Forums: apple.co/Devel...
App: apple.co/Devel...