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,174 раз и оно понравилось 130 посетителям.