Here I'm creating a simple movie app (one screen) to display the list of movies under "Now Playing" In the Theatres Category. And I'm going to use a networking layer with URLSession class, To make an API call and fetch JSON data. you can create a networking layer...
Basic array operations in swift
In SWIFT, An array is a collection of data of a similar type. As a Swift developer, most of the time, you will interact with arrays, and hence it's necessary to know the most used swift operations/methods. Note: Like most of the other programming languages, the array...
Bubble Sort in Swift
The Bubble sort algorithm is one of the simplest sorting algorithms, but it is also one of the most inefficient for large data sets because it does not take advantage of any form of caching or parallelism. It is used by starting at the beginning of an array and...
LET vs VAR in swift
let, and var are the swift keywords used to make the variables. let is used to create immutable variables, whereas var is used to create a mutable variable. The significant difference between let and var is that when you create an immutable variable called a...