How to create Custom Generic CheckBox View in Swift like Android?

Like Android, In iOS, there is no native checkbox component to use as multiple-choice options. We will create a generic checkbox view to use multiple times on any multiple ViewControllers. This is how our custom checkbox will look like. You can have source code at this link: https://github.com/bandalrahul/CheckBoxSwift We will create one generic component so that we can use same checkbox view in multiple ViewControllers. Let’s create new project named as GenericCheckBoxDemo. Let’s create a custom generic/custom view for the checkbox, which can be accessed from any ViewController through the project. Name the File Name / Class Name to our …

Read moreHow to create Custom Generic CheckBox View in Swift like Android?

How to create a custom Navigation View in SwiftUI?

While using storyboard you may come across different custom UI requirements, Creating a custom Navigation View is one of them. But in the storyboard we are used to integrating it by creating generic XIB’s or we can create it on the storyboard through UIView(). But in SwiftUI there will be some cases to implement custom Navigation View. we will look at how we can create a custom view in SwiftUI. This is How our custom Navigation View will look like. Create Project with name with ‘CustomNavigationView’. Create New SwiftUI file. Select file type as SwiftUI. Name file name as HeaderView. …

Read moreHow to create a custom Navigation View in SwiftUI?

Basics Of CoreData in Swift.

What is CoreData?, How to use CoreData? Why to use CoreData?, these questions come in every junior iOS Developer. If you belong to the same context, you are on the right page. we will see the basics of CoreData in Swift. Sometimes we have to handle an ample amount of local data in a sophisticated manner. Coredata is an object-oriented database framework. Everything in Coredata is represented as an object like Manage Objects. CoreData framework allows user to store and retrieve persistent data in an application. Coredata is not a Database: Yes, Right CoreData is not a database, it’s just …

Read moreBasics Of CoreData in Swift.

How to use Encodable and Decodable in swift?

In real life, Encoding is nothing but convert data or information in an any intended format, In swift Encoding Protocol does the same. By using the Encoding Protocol, we can convert model data as a request parameter for an API call. And decoding means converts data into a readable format. In Swift, we can convert JSON data received from web service into our object model. No need to parse data explicitly. We can directly use this model class/struct without parsing the array and dictionaries of the JSON response. Before implementing encodable and decodable please look into this URL https://reqres.in/api/users, this …

Read moreHow to use Encodable and Decodable in swift?

How to create a custom activity indicator in Swift/iOS?

We are using an activity indicator in the project in order to show the progress of API calls, data store, data transfer, data delete. usually, we use a third-party library like MBProgressView to show activity indicators in the application. let’s see How to create a custom activity indicator in Swift/iOS? Sometimes, the client or UX designer may ask for a custom-designed activity indicator to integrate in-app. Custom activity indicators could be based on their company profile like logo, color code, and other aspects. Create custom activity indicator is a primitive task in the early stage of the project, we need …

Read moreHow to create a custom activity indicator in Swift/iOS?

How to store an array in the dictionary in Swift?

Suppose we have JSON data received from API. Usually, we are storing in array and dictionaries, we will see how to store array in the dictionary for the sake of arranging data in the form of instance or model. Array in Swift: The array is nothing but a collection of similar types of elements. which we can access by the index. In one array we can store multiple students’ names but in the same array, we can’t store students’ student id. for storing student id we have to take another array. For example : Student Names Array data will be …

Read moreHow to store an array in the dictionary in Swift?

iOS vs. Android: Why iOS is an App Developer’s Best Bet

iOS vs. Android, discussion on this topic are very frequent. Today I will try to convey why iOS development is better than Android Development. With more than 5 billion mobile phone users around the world, mobile app development has become a strategic imperative for businesses wanting to go digital and reach a wider audience. With their ubiquity of use, mobile apps are the best way to go where your customers are, as well as provide information about your products and services right in the palm of your prospective customers’ hands. Before developing an app for your business, an important point …

Read moreiOS vs. Android: Why iOS is an App Developer’s Best Bet

Why I-phones are so expensive in India?

Day by day, India breaking records in terms of iPhone sales. Rather prices of iPhone in India are higher than the USA and European countries. There are many reasons behind Apple product price ratio is increasing in India day by day. let’s see why apple products are very costly in India. International Currency: Degradation of currency is one of the key factors that affect the price of products that India imports from foreign countries. For instance, in January 2018 Dollar to Rupee cost was 1:63 however for now in July 2020 it is 1:75, which means the value of rupee …

Read moreWhy I-phones are so expensive in India?

How to use Generics in Swift?

You may confuse or in fear of to use of Generics in Swift. Today we will see, How to use Generics in Swift. Swift Generics allow you to write generic code. Generic code allows us to write reusable code and also we can avoid redundancy of code throughout the project, generic programming allows us to write code once and very clean and in abstracted manners. if you think writing generic code sounds very complicated in terms of implementation. you have wrong assumptions. generics are a compelling feature in swift. By using generics in code we can reusable code and Generic …

Read moreHow to use Generics in Swift?

Top 5 best iOS/Swift development learning Youtube channels.

Before you going to pay for any Bootcamp or any online course for learning swift, please take an overview of below youtube channel’s, if you want to become an IOS developer by learning yourself without paying anywhere, Make sure you should have to be a very passionate to learn any technology, Swift is a growing programming language and becoming more popular for the development of an iOS and MAC pc applications, Average salary of the swift developer is very higher than any other application developer. These are some youtube channels, where you can learn to develop an app from scratch …

Read moreTop 5 best iOS/Swift development learning Youtube channels.