There are a lot of delegate ideas in IOS programming, and many beginners do not understand what delegate is.
Delegation ModeIt is a basic technique in software design patterns. In the delegate mode, two objects are involved in processing the same request. The object receiving the request delegates the request to another object for processing. Delegation mode is a basic technique. Many other modes, such as status mode, policy mode, and visitor mode, use delegation mode in special cases. --- Wikipedia
Through the above section, we have understood the basic principle of delegation. in the vernacular, your boss wants to build a project, so the boss handed over the task to the project manager, but the project manager writesCodeThe process is actually the project manager. Delegate =ProgramPersonnel, so if the project manager has an occoding () task for programmers to do, then the programmer must implement the occoding () method in this class.