WWDC24: A Swift Tour: Explore Swift’s features and design | Apple

Опубликовано: 11 Июнь 2024
на канале: Apple Developer
19,447
520

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:
https://developer.apple.com/forums/to...

Explore related documentation, sample code, and more:
Wrapping C/C++ Library in Swift: https://www.swift.org/documentation/a...
Value and Reference types: https://www.swift.org/documentation/a...
Tools used: Windows: https://www.microsoft.com/en-us/windows/
Tools used: Visual Studio Code: https://code.visualstudio.com
Tools used: Ubuntu: https://ubuntu.com/desktop
The Swift Programming Language: https://docs.swift.org/swift-book/
Embrace Swift generics: https://developer.apple.com/videos/pl...
Design protocol interfaces in Swift: https://developer.apple.com/videos/pl...
Explore structured concurrency in Swift: https://developer.apple.com/videos/pl...
Write a DSL in Swift using result builders: https://developer.apple.com/videos/pl...
Expand on Swift macros: https://developer.apple.com/videos/pl...
Meet Swift Regex: https://developer.apple.com/videos/pl...

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: https://apple.co/VideoSessions
Documentation: https://apple.co/DeveloperDocs
Forums: https://apple.co/DeveloperForums
App: https://apple.co/DeveloperApp


Смотрите видео WWDC24: A Swift Tour: Explore Swift’s features and design | Apple онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Apple Developer 11 Июнь 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 19,447 раз и оно понравилось 520 людям.