The basic Xcode firmware contains the AVFoundation module, but the constraint to using it is you will only able to play sound with “.wav” extension and is not able to play MP3 .... Read More
To delete a file on your computer using Swift programming, you must utilize Swift extensions and use the FileManager framework in order to access, modify or remove files from the .... Read More
In this tutorial, you will the simplest method of deleting a file using Xcode Project following this simple example. How to delete a file manually in Xcode The easiest way to remov.... Read More
In this tutorial, we will learn If NOT conditional case in Swift. We usually do a lot of conditional statements like If else… or if else if… These types of conditional .... Read More
In this tutorial, we will learn how to create an empty array in Swift. We will show you one by one the followings: Create an empty Int array in Swift Create an empty String array T.... Read More
Here, I will show you the easiest way to check which version of Xcode is installed on your Mac. The easiest method will come first then we will go for other ways to do the same. Si.... Read More
In this Swift programming tutorial, you are going to learn how to get a random element from an Array. So let’s continue… Well, it is quite easy to get a random item fro.... Read More
In this tutorial, you will see how we can replace characters or part of a string in Swift program with examples. You will learn 3 methods of replacing string characters using Swift.... Read More