This skill provides specialized guidance and implementation patterns for upgrading network layers across the Apple ecosystem, including iOS, iPadOS, watchOS, and tvOS. It facilitates the transition from low-level BSD sockets or legacy URLSession StreamTasks to modern frameworks, with a specific focus on the latest async/await-powered NetworkConnection available in iOS 26+. By automating the mapping of complex socket operations to high-level Swift APIs, it helps developers eliminate boilerplate, prevent memory leaks, and leverage advanced features like Happy Eyeballs DNS and automatic task cancellation.
Key Features
01Automatic memory management and weak self elimination
02233 GitHub stars
03BSD Sockets to NWConnection mapping
04Swift Concurrency (async/await) networking patterns
05URLSession StreamTask to NetworkConnection transition
06NWConnection to NetworkConnection (iOS 26+) migration