Dec 21, 2021 swiftui

SwiftUI or StoryBoard what to choose

Today most of the iOS developer are confused on picking SwiftUI or storyboard. Most of the developer are familiar with Interface builder which is known as storyboard which usually uses the XIB . We hope to give the comparision between…

Nov 26, 2021 iOS

What is View Controller ? What is its lifecycle?

What is View Controller Life cycle in swift? Ans: View Controller Life cycle swift : View Controllers (VC) are the Controller part of the MVC(Model View Controller) triangle. They are responsible for controlling the view. Every time you want to…

Sep 20, 2021 interview

What is Core Data with Swift Interview Question

 What is Core Data in Swift ? Core Data Stack Core data with swift uses SqLite as  local DataBase Storage in iOS. it is the frameWork used to save, modify and track the data within our application. Core data allows…

Aug 28, 2021 interview

iOS push notification interview questions and Answers

Apple Push Notifications Interview Questions and Answers Here are the apple push notification interview questions for fresher and experience candidate.voip push notifications ios What is NSNotification?   An Object Which Contains information broadcast to registered observers that bridges to the notification.…

Aug 28, 2021 interview

iOS interview Questions swift and Answer : Part 3

 Technical swift interview Question and Answer for iOS developer: Part 3 iOS interview Questions swift and Answer for experience and fresher candidate iOS interview questions swift for experience student for preparation of job interview 1 .What is ARC (Automatic Reference…

Mar 28, 2024 iOS

Optionals in swift

In Swift, optionals are a powerful feature designed to represent the absence of a value in a type-safe way. They allow you to indicate that a value may be present or absent, meaning it could either contain a value of…

Mar 21, 2024 iOS

How to read data from a CSV file and convert it to JSON in Swift

To read data from a CSV file and convert it to JSON in Swift, you can follow these steps: Read the CSV file line by line. Parse each line into an array of values. Convert the array into a dictionary,…

Feb 16, 2024 iOS

“Mastering C#: A Deep Dive into Dependency Injection Techniques”

Introduction In the ever-evolving landscape of C# development, mastering Dependency Injection (DI) is paramount for creating scalable, maintainable, and efficient code. In this comprehensive guide, we delve into the intricacies of Dependency Injection techniques, providing a deep understanding that goes…

Aug 16, 2023 iOS

Swift Programming: A Deep Dive into Dependency Injection

Swift Programming: A Deep Dive into Dependency Injection Dependency Injection (DI) is a software design pattern used to implement Inversion of Control (IoC) in which the control over the creation and management of objects is shifted from the class itself…

Apr 22, 2023 iOS

SwiftUI interview questions and answer

Q1: What is SwiftUI? A: SwiftUI is a framework provided by Apple to build user interfaces for their platforms such as iOS, macOS, tvOS, and watchOS. It is based on the declarative programming paradigm, which means you describe the user…

Apr 04, 2023 iOS

How to display SwiftUI sheet Half screen

To present a SwiftUI sheet that takes up half of the screen, you can use the .sheet(isPresented:onDismiss:content:) modifier with a custom View that conforms to the View protocol. Here's an example: struct ContentView: View { @State private var isPresented =…

Mar 09, 2023 iOS

SwiftUI CollectionView using Vgrid

A native collection view wasn't included in SwiftUI's CollectionView original release. Using third party libraries or creating your own solution are also options. Apple unveiled a tonne of new SwiftUI framework capabilities at this year's WWDC. One of them is…

Jan 17, 2023 iOS

How to get the Flutter Device name

Welcome to the LeadByCode .Today we are going to learn about How to get flutter device name as well as Device info. In general, developing a mobile application is a difficult and time-consuming process. There are various frameworks available that…