WWDC24: Consume noncopyable types in Swift | Apple

Опубликовано: 13 Июнь 2024
на канале: Apple Developer
4,174
130

Get started with noncopyable types in Swift. Discover what copying means in Swift, when you might want to use a noncopyable type, and how value ownership lets you state your intentions clearly.

Discuss this video on the Apple Developer Forums:
https://developer.apple.com/forums/to...

Explore related documentation, sample code, and more:
Copyable: https://developer.apple.com/documenta...
Swift Evolution: Noncopyable Standard Library Primitives: https://github.com/apple/swift-evolut...
Swift Evolution: Borrowing and consuming pattern matching for noncopyable types: https://github.com/apple/swift-evolut...
Swift Evolution: Noncopyable Generics: https://github.com/apple/swift-evolut...
Modern Swift API Design: https://developer.apple.com/videos/pl...

00:00 - Introduction
00:30 - Agenda
00:50 - Copying
07:05 - Noncopyable Types
11:50 - Generics
19:12 - Extensions
21:24 - 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: Consume noncopyable types in Swift | Apple онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Apple Developer 13 Июнь 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 4,17 раз и оно понравилось 13 людям.