★ Lazy Loading is delayed loading, that is, when the object needs to use the time to load. It is actually the get method of overriding the object, and when the system or developer invokes the object's Get method, the object is loaded. ★ Note: 1. If it is lazy loading, you must pay attention to the first to determine if there is already, if not then to instantiate
2. Do not use self in the Getter method. Oneself, because self. Will call getter method, resulting in a dead loop ★ Use lazy Loading benefits: 1. You do not have to write the code of the created object all in the Viewdidload method, the code is more readable
2. Each control's getter method is responsible for the respective instantiation processing, the code is independent of each other, loosely coupled 3. The memory usage of the system will be reduced ★ Reference HTTP://WWW.JIANSHU.COM/P/1927B4310FA6
iOS Development-Lazy loading