Explain what Lazy stored properties is and when it is useful?
Answer / 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 |
Explain completion handler?
What are the type of integers does swift have?
List some control transfer statements used in swift?
What is mvvm in swift?
What is protocol in swift?
Explain deinitializer in swift programming language?
What is the usage of switch statement in swift language?
What is swiftnet?
How to declare an empty dictionary in swift?
What is clean swift?
What is argument label in swift?
Is apple using swift?