In this tutorial you will learn how to add a delay to your code. To add a delay to your code we need to use GCD. GCD has a built in method called
It is a common task to convert a Dictionary to JSON. In this tutorial I will show you how you can do just that, luckily for us, Swift makes this incredibly easy. A
In this tutorial you will learn how to replace characters in a String using Swift. We will be using the following methods replacingOccurrences, replacingCharacters as well as replaceSubrange. Replace characters with replacingOccurrences methodThe
Taking a screenshot or recording a video of the iOS simulator can sometimes be useful, whether it is for the App Store or maybe for some internal use case that the company or
Sometimes we need to check what version of Swift we are using, or, more correctly what version of Swift Xcode is using. There are two ways that we can do this, one is
In this tutorial you will learn how you can save a file locally. Flutter has a built in type called File which will allow us to read and write to a file locally.