Difference between == and === in Swift
== - Compares the value of the variable
=== - Along with value the data type also need to be matched.
seen from T1

seen from United Kingdom
seen from United States
seen from Australia
seen from United States

seen from Germany

seen from T1

seen from Türkiye
seen from Yemen
seen from Yemen

seen from United States
seen from Thailand
seen from Yemen
seen from India
seen from United States
seen from China
seen from Italy

seen from United Kingdom
seen from Moldova
seen from United States
Difference between == and === in Swift
== - Compares the value of the variable
=== - Along with value the data type also need to be matched.

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch • No registration required • HD streaming
Changing Theme of Xcode
Tadaaa!! Being new to development editor we always feel excited to change the themes especially people who likes Dark theme
So, today we can learn how to change theme in xcode
Open Xcode ----> Preferences ----> Choose Themes on top -----> Choose available themes on left side ----> select one of them
You can also add your own customized theme 🤗
It's as simple as that
Happy learning!!
Protocols in Swift
What is a Protocol?
In swift protocol is considered as a major property which we use frequently.
It basically means what are the things we are necessary to be handled. It is considered as a set of rules which are mandatory to define on using the protocol
Ex: consider a Vehicle
If we need to buy a car what are the things we take care first (speed, milage, kms) so these are the necessary things that everyone needs to know.
So, we declare all of them in a protocol
Any vehicle need to satisfy these properties(car/bus/plane)
Structure of Protocol:
Here every protocol have mandatory rules soo
Any class which conforms to this protocol need to provide definition for this.
In simple words for people who knows Java Programming Language
Protocol is just like an interface in Java
Any class which implements that interface need to provide definition.
API INTEGRATION IN SWIFT(part 1)
API means Application Programming Interface
It's main purpose is to bring applications together in order to perform a designed function.
It helps us to make repetitive yet complex processes highly reusable with a little bit if code.
Overview of API
Via theory wise first in order to get the data from API we need to send a request.
So, we prepare a request object.
A Request object contains
• URL
• Header Parameters
• Body Data
In code wise we need to follow several steps to achieve that task of getting the data via API
So theory wise get to know these things.
We will continue this in the next part🤗
Happy learning!!
Main purpose of Swift
• It is a powerful and intuitive programming language built using a modern approach for iOS.
• It ensures safety, performance and software design patterns.
• The syntax is concise yet expressive.
• The modern features included in it makes developers love it!!

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch • No registration required • HD streaming
Methods in Swift
What is a method in swift?
Methods are considered as small piece of code that is reusable. They belong to the classes, enums, structs.
Methods use func as a keyword to provide a definition
Structure of method:
These methods are placed inside the class, struct Or enum.
Swift allows classes to have methods with the same name but there need to be a difference either in
Number of parameters
Datatype of parameters
Order of parameters
Name of parameters
Methods can have a return type as well. Usually that return type is placed at end of the method.
Sending the Push Notification using APNS
First Open the project Step 1: Ask permission to allow the notifications
Add the import in App Delegate import UserNotifications
In AppDelegate --> create a method functions() --> Add the logic
func notifications() {
let notificationCenter = UNUserNotificationCenter.current()
notificationCenter.requestAuthorization(options: [.sound, .badge, .alert]) { s, err in logic }
}
Call this method in App Delegate didFinishLaunchingWithOptions()
Step 2: Open Terminal and go to the path where this apns file is saved
Type the following command which includes How to get deviceId: Xcode --> Windows --> Devices and simulators --> Simulators --> choose the running simulator --> copy the deviceid
xcrun simctl push deviceId bundleId apnsfilename xcrun simctl push DRCT74-GTYB-49BC-B023-C15632C131E com.encrytion.login apn.apns