Category: iOS

I have made swift easy for you. Learn how to make robust apps in iOS using swift. Find all the latest tech news related to swift and iOS.

May 30, 2020

OTP textfield in iOS swift

Design fully customizable OTP textfield in iOS Overview Welcome to my new article on how you can design OTP textfield in iOS. Let me show what we are going to design first 😎. Introduction This tutorial will only cover the design part of the OTP text field, not the validation part. If you want the validation part as well then please let me know in […]

May 18, 2020

Introduction to UserDefaults in swift

Basics about UserDefaults in Swift iOS. Introduction to UserDefaults in Swift Why UserDefaults in swift? You are developing an iOS mobile application and you want to store some data like a bool value ( isUserLoggedIn ) to represent if the current user is logged in or logged out then how will you do this? For this type of purpose, apple provides us UserDefaults. It is […]

May 14, 2020

Create your own CocoaPods library.

Let’s see how to create own custom CocoaPods library and publish it. Introduction If you are an iOS developer then you may have used CocoaPods in your projects. Today I will show how you can create your own CocoaPods library and publish it to This is a great opportunity to showcase some of your good work by making reusable code and publishing it on […]

May 5, 2020

How to design the floating action button in ios swift.

Create the floating action button (FAB) in your ios app. In this blog, I will guide you on basic design and animation principles in iOS. We will see the easiest way of designing the floating action button menu (FAB). Let’s start the coding part. First, create a new blank Xcode project and do the initial setup. Open the main storyboard and create four buttons at […]

April 30, 2020

Value type and Reference type in iOS swift.

Difference between value type and reference type. If you are an iOS developer and still confused about the difference between value type and reference type then you are at the right place because I am going to explain each and every topic in every detail. so let’s get started. As we know that whenever we create an instance it gets saved to memory. A fixed […]

April 24, 2020

How to design custom switch in iOS swift?

Design custom UISwitch like the android from scratch in iOS swift. We are going to copy the design of the android toggle button and design custom switch. It seems a lot of effort but believes me, my friends, I have made it very easy for you. Let’s start some coding now. I will start with a basic class definition of the custom switch and named […]

April 23, 2020

Asynchronously display data from API call in iOS

Learn how to make API call in iOS. Display the returned data asynchronously in iOS swift In this tutorial we will be using a dummy API to make API call in iOS ie. And the response will be coming in JSON as shown below format: Let’s start some coding now. First we will be creating the model class based on the above JSON array. […]

April 22, 2020

Get JSON array from the server and parse it in your ios application.

Learn how to parse a JSON array with the model class. In this small tutorial, I will show you how to get JSON array and parse the respective data in your iOS app. Let’s get started. For the demo, I will be using this link for the JSON array. “” This JSON contains the array of post data. So let’s create our model PostModel.swift as […]