Why extensions must not contain stored properties? | Hindi tutorial

Описание к видео Why extensions must not contain stored properties? | Hindi tutorial

Why extensions must not contain stored property this question comes to the mind of every iOS developer who uses extensions for the very first time, so in this session let's find out why extensions do not allow stored properties but they allow computed properties.

iOS Cafe discord invite:   / discord  

Given are the chapters of the video

0:00 introduction
0:19 compile time error
0:50 what are stored properties
1:30 computed properties
1:55 interview questions
2:41 code demo
4:48 why stored properties are not allowed
5:15 state and behavior
5:40 extension responsibility
6:35 computed properties and extensions
7:17 response
7:34 apple docs
8:00 conclusion

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

✅ 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: https://www.youtube.com/c/codecat?sub...

Links mentioned in the video:
Computed properties:    • Computed property  in Swift | Swift f...  

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----------------------------------------------------------------------------------------------------------------------
############################################

Connect with me on social media
Instagram: codecat15
📧: [email protected]
🐦:   / codecat15  
Facebook:   / code.cat.792  
Github: https://github.com/codecat15

###########################################
#extensionInSwift #computedInPropertySwift #storedInPropertySwift

Комментарии

Информация по комментариям в разработке