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 |
What is swiftnet?
Why swift is the best language?
What is string in swift?
What is argument label in swift?
Mention what are the type of integers does Swift have?
What is the purpose of swift?
What is swift nsarray?
What are the higher order functions in swift?
What is nsdictionary in swift?
What is final class in swift?
In swift, what type of object are basic data types?
What are the two main integer types in swift?