Software Dev

Debug network connections right from Xcode

Debugging live network traffic in your app is always interesting. There are some great apps for tracking your network connections, such as the cross-platform classic Charles Proxy, the more modern and Mac-assed alternative Proxyman, and even an embedded framework like Pulse.

And now with Xcode 13, you can forgo the third-party apps altogether if you so choose. This comes in especially handy if your company has third-party apps locked down. πŸ€·πŸ»β€β™‚οΈ

πŸ‘‰ Check out Inspecting HTTP Traffic With Instruments

Or go straight to the source with Apple’s WWDC session Analyze HTTP traffic in Instruments.

via iOS Dev Weekly.

Software Dev

Detecting Changes to Network Access on iOS 12+

Holy crap, there’s finally a dedicated iOS API (NWPathMonitor) that detects and monitors network status!

πŸ‘‰ Detecting Internet Access on iOS 12+

We’ve been dealing with or avoiding the problem of network connectivity on iOS apps for years. Now you can monitor the network status with a callback sort of like you would with location or other services. And you can specify wi-fi or cellular.

I’m glad this finally made it to the to of Apple’s backlog! πŸ‘

Software Dev

Twitter Network Layer (TNL)

The iOS network layer developed by Twitter.

The Twitter Network Layer (TNL) is a framework for interfacing with the Apple provided NSURLSession stack that provides additional levels of control and insight over networking requests, provides simple configurability and minimizes the cognitive load necessary to maintain a robust and wide-reaching networking system.