WWDC25: Use structured concurrency with Network framework | Apple

Опубликовано: 03 Декабрь 2025
на канале: Apple Developer
3,759
105

Network framework is the best way to make low-level network connections on Apple platforms — and in iOS, iPadOS, and macOS 26, it’s a perfect fit for your structured concurrency code. We’ll explore how you can make connections, send and receive data and framed messages, listen for incoming connections, and browse the network for services. We’ll also cover key best practices along the way.

Explore related documentation, sample code, and more:
NetworkBrowser: https://developer.apple.com/documenta...
NetworkListener: https://developer.apple.com/documenta...
NetworkConnection: https://developer.apple.com/documenta...
Network: https://developer.apple.com/documenta...
Building a custom peer-to-peer protocol: https://developer.apple.com/documenta...
Embracing Swift concurrency: https://developer.apple.com/videos/pl...
Introducing Network.framework: A modern alternative to Sockets: https://developer.apple.com/videos/pl...
Supercharge device connectivity with Wi-Fi Aware: https://developer.apple.com/videos/pl...

00:00 - Welcome
00:45 - Make connections
07:22 - Send and receive
14:22 - Accept incoming connections
16:05 - Find other devices

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