Тэги:
#computed_properties_swift #computed_properties_swift_tutorial #computed_properties_swift_hindi #computed_property_swift_hindi #computed_property_swift_example #computed_property_example #swift_5_tutorial_in_hindi #swift_5_hindi_tutorial #swift_property #swift_property_in_hindi #swift_5_tutorial_latest_in_hindi #property_in_swift #computed_property_in_swift #what_is_type_property_in_swift #swift_for_beginners #computed_propertyКомментарии:
Ravi sir, With the help of this video , I explain in an interview what is computed property and how it work with this simple example.
I also answered few more questions and I was hired in good company.
Thanks Sir
bhai just love your videos <3 swift ke tutorials yha english me basics nhi milte vaha aap hindi me itni accche se properly bata rhe love your way of teaching choti choti chijo pe bhi dhayan dete ho
Ответитьone of my friend "Raman" overuses it alot. for populating the tableview cell he always makes the computed property in tableviewcell class
ОтветитьSir is there any difference between function and computed property?
ОтветитьThanks friend,
Your videos are relay helpfull
In my project, I used computed properties to deal with UserDefaults. I've put all the code related to UserDefaults in one single file, create helper class there (MyUserDefaults), mark each variable (computed property) as static. So I can use it like:
MyUserDefaults.theme = "Dark" : to write
MyUserDefaults.theme : to read
Is this a good approach?
Best video on computed property
Ответитьsir yeh get set lgane hote hai kya for input and output in this properties
Ответитьcan I use observer property for the same . If yes how to differentiate between observer and computed property
Ответитьvery helpful !
ОтветитьNice man
Ответитьthankyou sir, keep it up ...
ОтветитьNice sir
ОтветитьCan you make video on "Opaque types" ? Feature from swift 5.1
Also some advance topics like @propertywrapper
This channel deserves more subscribers than it has now coz the depth of knowledge is simply amazing.
This channel is the best swift tutorial for beginners and experienced developers, the style, the presentation, the examples are too good.
Glad i found this channel which explains complex topics with such ease 👍 Good job buddy
sir please make a tutorial on abstraction and difference between frame and bounds. basic but very conceptual
Ответитьnice tutorial .... ziada ter junior Developers ko nae pta hota... computed properties ke bary me
Ответитьi prefer computed priorities rather then making a function ...
adding a simple example
class Person {
var firstName: String?
var lastNamr: String?
}
// computed properties
extension Person {
var fullName: String {
return "\(firstName ?? "") \(lastName ?? "")"
}
}