Explain what Lazy stored properties is and when it is useful?
Answer Posted / iosraj
Lazy stored properties are used for a property whose initial values is not calculated until the first time it is used. You can declare a lazy stored property by writing the lazy modifier before its declaration. Lazy properties are useful when the initial value for a property is reliant on outside factors whose values are unknown.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is race condition in swift?
What is asynchronous in swift?
Explain some design patterns which we normally use during the app development.
What is an argument in swift?
Is swift hard to learn?
What are ui elements?
Does apple use swift internally?
What is floating point number in swift? What are the different floating point numbers in swift?
Is c++ similar to swift?
What are the best ways of achieving concurrency in ios?
How would you define variables and constants in swift programming language?
What is data structure in swift?
What is a static variable swift?
Is equal to string swift?
Explain some biggest changes in usernotifications.