Equatable protocol in swift hindi tutorial
HTML-код
- Опубликовано: 19 сен 2024
- Equatable protocol in swift, lets you use the equality operator for custom types in swift. This equatable protocol swift tutorial displays simple examples to as to how to use equatable protocol and answers the question of what is equatable protocol in swift
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
✅ Subscribe to the channel and stay ahead of everyone by following the right way for writing clean code in swift. 🔥🔥🔥🔥🔥
🔗Click on the link to subscribe: www.youtube.co...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----------------------------------------------------------------------------------------------------------------------
📥 Download the source code from
Github: github.com/cod...
Google Drive: drive.google.c...
-----------------------------------------------------------------------------------------------------------------------
🎶 Royalty-free Music: www.bensound.com
############################################
Connect with me on social media
📧: codecat15@gmail.com
🐦: / codecat15
Facebook: / code.cat.792
Github: github.com/cod...
###########################################
#equatableInSwift #equatableProtocol #equatableProtocolExample
Awesome explanation!!! Thanks @CodeCat
easily understood,thanks man!
Your explanation are really awesome. 👍🙂
Thank you 😃
Easy, Clean and well explained :) (y)
Thank you Naina, do share it with your iOS group and feel free to ask questions on this topic
Thanks @CodeCat15
we are waiting for more videos of swiftUI like API calling , UI Animation etc
Thanks in advance
Hello Khushal welcome to the channel, i too was thinking the same about swiftUI will release videos on this in the coming days for this
Well explained 👏
Thanks Vamsi, feel free to ask questions on this topic and do share it with your iOS group
Hello,
struct AAA: Equatable {
var a = 1
}
Why is not necassary ti implement the static func == ? If you look in the Swift Documentation there is REQUIRED.
Good explanation Ravi...
can we use Equatable protocol with classes?
Yes you can, protocols are compatible with class and struct both. Feel free to ask more questions and do share this with your ios group
Any videos related to hashable and comparable protocols.
Ravi how we can compare all values of object do we need to write like id == id and name == name for all values
Hey @Deepak do you want to compare all the properties value of the two object with each other? If yes then just use the equatable protocol as shown in the video coz that way its much easy.
If not then can you please elaborate the question.
Please make the video on Notification observer
I wanted to make that after the observer pattern video but then it skipped my mind, let me finish the core data tutorial this week and try to slide it in between the week, if it’s something urgent that you are working on then drop an email with what you are trying to achieve will discuss there
@@CodeCat15 not so urgent, post video as per your schedule, with great example
Thank you Pratik 🙏