What is lazy in swift?



What is lazy in swift?..

Answer / Siddhant Singh Chikara

In Swift, 'lazy' is a property attribute that causes the initial value of a property to be calculated and cached as late as possible. This means that the property's initializer isn't called until the first time the property is accessed.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apple iOS Swift Interview Questions

What is data type in swift?

1 Answers  


What is a delegate in swift?

1 Answers  


What are the type of integers does swift have?

1 Answers  


How can you prioritize the usability of the demand process?

1 Answers  


Is swift object oriented?

1 Answers  


What is mutable and immutable in swift?

1 Answers  


What is the difference between swift and ‘objective-c’ language?

1 Answers  


Is swift a good language?

1 Answers  


What is a guard statement? What is the benefit of using guard statement in swift?

1 Answers  


What are functions in swift?

1 Answers  


What is difference between any and anyobject in swift?

1 Answers  


What are the collection types available in swift?

1 Answers  


Categories