Рет қаралды 2,922
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:
developer.apple.com/forums/to...
Explore related documentation, sample code, and more:
Copyable: developer.apple.com/documenta...
Swift Evolution: Noncopyable Standard Library Primitives: github.com/apple/swift-evolut...
Swift Evolution: Borrowing and consuming pattern matching for noncopyable types: github.com/apple/swift-evolut...
Swift Evolution: Noncopyable Generics: github.com/apple/swift-evolut...
Modern Swift API Design: 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: apple.co/VideoSessions
Documentation: apple.co/DeveloperDocs
Forums: apple.co/DeveloperForums
App: apple.co/DeveloperApp