在大部份时候,控制器是一个委托且可以实作各种委托协议,以便可以接收来自多个物件的事件。
In many cases, a controller is a delegate and can implement several delegate protocols to receive events from multiple objects.
委托是一个协议(介面),定义了许多物件可以实作的方法,为了接收来自其他物件的特定讯息。
A delegate is a protocol (interface) that defines methods that an object implements in order to receive specific messages from other objects.
实作这些属性可以呼叫样式物件。
The implementations of these properties can call the style object.
应用推荐