Understanding about Connection
The development in iOS SDK is similar to the Dialog Based Application development in Windows. It is to drag some page elements to the window and then write the corresponding code. However, why is no Connection established in Windows? Is it because Windows does not need to be created? Obviously not. If the page element is not associated with the application, it cannot complete any valid operations. The answer is that Connection in Windows is created by Visual Studio. In this case, why can't Xcode be set up for us? My understanding is to understand the root node.
In the MVC mode, it is easier to decouple M and VC. (If M only refers to the Data Model .) However, it is difficult to decouple V and C. Because V requires C to control, the coupling between them is usually quite tight. As in Windows, V and C are basically inseparable. Xcode uses the Connection method to solve this problem. In this way, the same V can have multiple different C, and different C can be used to control the V under different circumstances. This also avoids the excessive use of inheritance to control C, as in Windows. In many designs, do not use inheritance as much as possible.
From pingjiang2003's column