When developing apps, you are probably in an environment with stable and fast network connection, this is great while debugging. But how do we know the app will work in a less stable environment? Like when you are on the move switching from WiFi to a mobile network, or opening the app in the train while entering a tunnel? Does your app handle these use-cases correctly?
AVRoutePickerView has been introduced in iOS 11 and always users to select playback routes. During WWDC’19 Apple announced that AVRoutePickerView will be in favor for selecting an AirPlay device and will deprecate route button configurations in MPVolumeView! This blogpost will help you update your app to use the AVRoutePickerView.
Grand Central Dispatch (GCD) dispatch queues are a powerful tool for performing tasks. Dispatch queues let you execute blocks of code either asynchronously or synchronously. You might have heard the terms serial and concurrent queues when investigating GCD. In this blog post, I will try to explain the difference.
When using third party libraries, it can be challenging writing test code to allow mocking. Especially for code that includes networking, you do not want to test your network connection or your backend service. You want to test your logic around the networking. This blog post will show you how to enable mocking for the network library Alamofire.