
How to add a delay to code in Swift
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
A collection of 76 posts
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
In this tutorial I will show you how to make a view fill the width or height of the parent view or fill the screen. It is often required that a view fill
Sometimes I find that I need to get both the index and the value when I am looping through an array. In this tutorial I will show you how to get both. I
In this tutorial I will show you how you can download a file from a given URL and then save it locally using Swift. Setting up the local file URLThe first thing that