Inheritance vs Interfaces (Protocols) In Swift

preview_player
Показать описание
It's quite a basic yet a compelling topic where people get confused. In this video, I've taken an interesting example to explain where to use inheritace, limitation of inheritance, what's the ideal way to deal with such problems (inheritance/protocols), how to use them, and implementation for all of these in code (Swift).

Documentation for Protocols 👇🏼
Рекомендации по теме
Комментарии
Автор

Good Explanation with the basics..Very much informative learning video

shivanshkumar
Автор

Sir, thank you very much for the great explanation, I've leant so much in these 18 minutes 😁

ashleydube
Автор

Your video is being alike daily dose... keep posting.

pawanmanjani
Автор

thank you very much. This is such a great explanation!

MegaPertamax
Автор

It was a really helpful video. Thanks a lot!!!

prachibile
Автор

What if the protocols have the same method name and signature? Which method would you use when implementing multiple protocols

srkeerthy
Автор

Can you please make video on SOLID principles with proper examples in swift. I'm unable to find good examples of solid principles in other tutorials

waseemasif
Автор

Nice!!
Any specific reason for not using Xcode’s playground for demonstration?

abhijeetmallick
Автор

is interfaces are same as abstraction or is there any differences in swift (just like java language has)?

stplace
Автор

Now screen is visible properly with more clarity.

gopalprasadtrivedi
Автор

instead of using three different protocol declarations for each skill set .. can we use single protocol with 3 different method declarations for each skill and making them optional .. will this be a better approach ?

ProductsHub
Автор

You missed the computed and stored properties for extensions.

MohitAgrawaldev