Then, you have to call BeginInvoke on this delegate object.
然后,你必须在这个委托对象上调用BeginInvoke方法。
Singleton — returns reference to the single instance of the delegate object.
Singleton——返回对委托对象单个实例的引用。
Before we go any further, let's define a delegate object according to the Apple developer guide.
在进行下一步工作之前,我们根据Apple开发指导定义一个委托对象。
A delegate object or delegation is a simple and powerful pattern in which one object in a program ACTS on behalf of, or in coordination with, another object.
委托对象或者说委托方法是一个简单且功能强大的模式,在此模式中,程序中的一个对象,其行为代表另一对象,或与其一致。
Dispatcher? Manages an Activation queue of service requests that are pending execution; it decides which request to de-queue next and execute on a service Delegate object that implements the request.
Dispatcher——管理等待执行的服务请求的激活队列;它决定接下来哪个请求退出队列并在实现该请求的ServiceDelegate对象上执行。
Dispatcher? Manages an Activation queue of service requests that are pending execution; it decides which request to de-queue next and execute on a service Delegate object that implements the request.
Dispatcher——管理等待执行的服务请求的激活队列;它决定接下来哪个请求退出队列并在实现该请求的ServiceDelegate对象上执行。
应用推荐