adspace
Answer Posted / Dayaram Pal
A lazy variable (lazy property) in Swift is a property whose initial value is not computed until the first time it is accessed. This can be useful for reducing the overhead of initializing an object that might not be used, especially when dealing with expensive or time-consuming initialization.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers