What’s new in iPhone 12?

Good news for iPhone lovers. Apple announced that in the mid-2020 Apple is launching a new iPhone 12, together Apple launching a few four more generic devices like iPhone 12 max, iPhone 12 Pro, iPhone 12, Pro Max. Let’s see what apple upgraded in the new series of iPhone 12, But I would suggest you if you are thinking to buy iPhone 11, just wait for few months to get this new generation iPhone with new features, Your waiting will be worth, I am sure!. lets what is new in iPhone 12. Design: I think apple is decided to go …

Read moreWhat’s new in iPhone 12?

How to become an iOS developer within 3 months

Nowadays having a mobile app rather than a website is the fashion to reach out audience. Every day thousands of apps published on the Apple app store and Google play store. Every app developed with its own purpose, there are game applications, Service-based applications like banking, fashion/ e-commerce applications. Educational applications you will find lot many types of applications over AppStore or play store. if you want to generate your idea into the iOS application or you want to work somewhere as an iOS developer, you have to learn a mobile development programming language, learning a programming language is not …

Read moreHow to become an iOS developer within 3 months

Header View Animation on TableView Scrolling.

If you have noticed in the Apps like Facebook, Twitter, these apps having news feed on the dashboard, you may have observed while scrolling newsfeed the header section containing the cover picture or search box view, this header section is expanding and collapsing with animation, The dynamic header on the dashboard or profile screen looks app more attractive and comprehensive. We will look at how to implement a stretchable header view in swift while scrolling table view. follow the below steps to achieve this header stretchable functionality. 1) Create UITabelView and HeaderView Add UIView as header view from the component …

Read moreHeader View Animation on TableView Scrolling.

VStack, HStack and Zstack layout in SwiftUI

What are VStack, HStack, and ZStack layouts In SwiftUI?, you may familiar with VStack and HStack layouts. In UIKit framework, we used to use StackView to wrap UI components. If you are familiar with StackView in UIKIT, you have half done, we will go through each step, how VStack, HStack, and ZStack layouts implement SwiftUI framework. Stack layout, Spaces, and Padding are crucial parts of the SwiftUI layout, VStack, HStack, and ZStack layout allow to position views inside the container view, vertically and horizontally manner. Note: This article is written only for beginner to understand how VStack, HStack, and ZStack …

Read moreVStack, HStack and Zstack layout in SwiftUI

Enums in Swift

An enumeration type appears in every programming language, Enum stores the finite set of data like string, integer, enum is a list of comprehensive raw data in swift, enum is useful for handling flag, states, choices with respect of object and functionality. enum type plays a very important role in development to handle the lifecycle of operations and many more. let us see, how enum works in swift, enum is declared by enum keyword, with enum type variable name, by using case keyword you can define values in the enum, here is how enum is declared in swift. StatusType enum …

Read moreEnums in Swift

iOS developer or Android Developer?. Which one will suit me?

We will have an effective discussion on you should become an iOS or Android developer, Being a mobile developer, I can represent a few aspects and facts about Android and iOS development. If you are thinking I am living in India or any other Asian country, and here 80% population are using Android device I have to choose to become an android developer, another side if you are living in the USA and most of the people using iOS devices there that doesn’t mean you should learn iOS development. I will try to resolve your query, just sit back and …

Read moreiOS developer or Android Developer?. Which one will suit me?

Difference between Swift and Objective – c

If you are still stuck with objective-c, please read this article. In 2014 Apple released a new programming language called Swift, You might have a question in your mind why apple introduced a new programming language, even objective-c was fulfilling all requirements of developers. There are many reasons like Objective C is an old age programming language in terms of architecture and frameworks built in it. Objective C was designed and developed for developing MAC OS applications, Not for new generation hardware like iPhone, iPad, Apple Watch, Swift is designed to keep those devices on priority also. Syntactically and development …

Read moreDifference between Swift and Objective – c

Result In Swift

Apple introduced Result standard library into Swift Codebase in swift 5, Result has enum type, Result represents the outcome of any Operation or Functionality, like calling asynchronous API call, API response may be Success or failure, We can use Result to represent the combination of API Success and Fail. Let us see how Result works, this is how Result defined in Swift library Result returns either success or failure with value. Success type is generic means it could be anything Array of model objects like [Employee] more may be NSData, String, Int, but failure should always conform Error Type. Syntax …

Read moreResult In Swift

Why the iPhone is more secure than Android?

Sometimes you might have confused, which phone is better iPhone or Android?. This article is not creating any warzone between iPhone vs android. Two major operating systems are widely used for mobile phones. iOS, and Android. Android is owned by Google and iOS is owned by Apple, here we will discuss, how the iPhone is more secure than the Android operating system. Android is an open-source operating system, means Google provides a platform development kit to hardware manufacturers like MI, One plus, and Samsung. Here google is creating software parts of the mobile device and the hardware part is manufactured …

Read moreWhy the iPhone is more secure than Android?

How to use @state in SwiftUI

The SwiftUI framework is a reactive framework. No need to use any reactive framework like RxSwift to achieve reactive programming. The @State is a ‘propertyWrapper‘ struct. It wraps a value of property or object with a view at runtime. Did you confused? , Consider below example, fullName variable stated by @State, and then it’s wrapped with TextField view, When you will change the input value of TextField. it will get stored in the fullName property, and yes forgot to say when state value gets changed it will automatically get reflected in UI, wherever you used @State wrapped variable like fullName, …

Read moreHow to use @state in SwiftUI