Skip to main content

Tutorials

If you are like me you may be spending a good deal of development time debugging network connections trying to know more about where time is being spent in your connection life-cycle.  If you are using URLSession or Apple's Network Framework in your iOS or macOS application then you may want to take a look at the connection metrics APIs available.  One of those APIs is URLSessionTaskTransactionMetrics, and it is a metric gathering set of APIs built right into URLSession for gathering data like DNS time, TLS time, connection setup time, and much more.  I have found the 

In this micro tutorial I wanted to cover installing RVICTL after installing macOS 10.15 and Xcode 11.  I installed Xcode 11 beta along with the command line tools and fired up the terminal thinking that RVICTL would be available from /usr/bin, but was surprised when I did not see it from the command line.  I started to look all over my machine in the usual places but and was stumped. Finally, I found a solution and that is why I wanted to write this tutorial, to share with you that that sol

A good practice to keep in mind during application development is that you can never assume what kind of network conditions your users will be facing while using your application.  Some users could be on Wi-Fi, some of 4G - LTE, but most likely a lot of your users with be in conditions similar to 3G or an EDGE network, which can be a lot slower than Wi-Fi or 4G.  In these cases it is important to test your application to make sure that any assumptions you programmed into your logic during development do not provide a poor user experience in adverse network conditions.

With the release of Android Q Preview at Google I/O 2019 this year I wanted to put together a tutorial on one of my favorite topics in mobile development, application networking. Specifically, in this tutorial, I will be covering how to detect network connectivity on an Android device from an application's perspective.

Have your ever wondered how to take advantage of the cryptographic interfaces that Apple provides for you, but just unsure where to start?  If you so, then this tutorial will provide you a brief overview on how to implement the CommonCrypto APIs into your iOS or macOS application utilizing Swift 5.  In this tutorial I will cover taking a clear text Swift string and creating a MD5 and SHA-256 hashed value from this string.  Before we dive into the code though, let's talk about why you might want to use these hashing functions in your application.  One reason would be to persist sensitive inf