Posts from Swift

Closures in Swift

By Aryan

In this tutorial, we will cover the uses of closures in Swift. A Closure is a type of special function, unique to Swift, that can be made without the function name. It is basically.... Read More

Convert a String to an Integer in Swift

By Faruque Ahamed Mollick

In this Swift programming tutorial, you will learn how to convert a string to an integer. In the field of app development, you often need to convert a string into an integer so tha.... Read More

Nested Functions in Swift

By Aryan

Similar to Nested if-statements, when a function co-exists within the body of another function is called a Nested Function. There are 2 main parts to a Nested Function, the inner f.... Read More

How to find size of an array in Swift

By Shubhodh Amaravadi

In this tutorial, we are going to learn how to find the size of an array in Swift. There are two ways to get the total number of elements in the array. They are: Using count proper.... Read More

Find the average value from an array in Swift

By Shubhodh Amaravadi

In this Swift programming tutorial, we are going to learn how to find the average value from an array. We can easily find the average of all the elements of an array using the foll.... Read More

Remove duplicate elements from an array in Swift

By Shubhodh Amaravadi

In this tutorial, we are going to learn how to remove duplicate elements from an array in Swift. There are many ways to remove duplicates from an array. Here, we will discuss the m.... Read More

Dictionaries in Swift

By Aryan

This post is a deep dive into Dictionaries in Swift, we will discuss the structure as well as the utility of dictionaries in programming. A dictionary is basically another collecti.... Read More

Create a dictionary from an array in Swift

By Shubhodh Amaravadi

In this Swift programming tutorial, we are going to learn how to create a dictionary from an array in Swift. There are many ways to create a dictionary using arrays. In this tutori.... Read More

Related Posts