• The constructor is used to form a delegate over a target object and a function pointer.

    构造器用通过目标对象一个函数指针形成一个委托

    youdao

  • The delegating object keeps a reference to the other object, the delegate, and at the appropriate time sends a message to it.

    委托对象保持一个对象的引用委托方法恰当的时间向其发送消息

    youdao

  • This delegate simply returns the newly instantiated object and leaves the construction logic up to the client supplying the delegate.

    委托只是返回刚刚实例化对象构建逻辑留待提供委托的客户端完成。

    youdao

  • The execute method invokes the given delegate with an object from the pool, and ensures that the retrieved object is returned to the pool after the delegate completes.

    Execute方法中的对象调用给定委托并且确保该委托完成之后检索的对象返回到该池中。

    youdao

  • Delegation: a pattern where one object periodically sends messages to another object that is specified as its delegate.

    Delegation模式其中,一个对象定期发送消息一个指定作为代理的对象。

    youdao

  • While the target variable is guaranteed to be only assigned once, the delegate may be called by multiple concurrent threads unless a synchronization object is passed in.

    保证目标变量设置一次。不过,如果没有使用同步对象的话,委托可能会几个并发线程调用多次

    youdao

  • For example, the proxy class could delegate the method invocation to any other object or even handle it itself.

    例如代理可以方法调用委托其他任何对象甚至处理程序本身。

    youdao

  • This code USES the private methods to retrieve an object from the pool and call the provided delegate.

    代码使用私有方法中检索对象并且调用提供的委托。

    youdao

  • Registration identifies a creation delegate to call when a new instance of the object is required.

    注册可以标识创建委托,以便在需要对象实例调用

    youdao

  • The message informs the delegate of an event that the delegating object is about to handle or has just handled.

    消息通知事件委托方法,委托对象将要处理已经处理

    youdao

  • Thus, subclasses of Model in Listing 2 don't have to define properties of their own - they simply delegate any calls to a property to the underlying entity object.

    这样清单2中的Model子类不必定义它们自己属性它们只是一个属性所有调用委托这个底层entity对象

    youdao

  • Before we go any further, let's define a delegate object according to the Apple developer guide.

    在进行下一步工作之前我们根据Apple开发指导定义一个委托对象

    youdao

  • In this case, when the data is returned from the NSURLConnection it calls the delegate object and informs it that the data is ready to be parsed so that it can be displayed to the user.

    例中数据nsurlconnection中返回调用委托对象通知它数据准备好解析可以显示用户。

    youdao

  • 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对象执行

    youdao

  • The main method then proceeds to delegate the parsing of the argument to a CmdLineParser object, which then returns an Options object.

    main方法然后会将参数解析委托CmdLineParser对象,后者返回Options对象。

    youdao

  • If input gets all the way up the view hierarchy to the window object, it's next sent on to the application itself, which tends to pass it off to an application delegate as a last resort.

    如果输入沿着视图层次结构一直向上窗口对象,那么之后它将被发送应用程序本身最终传递到应用程序委托

    youdao

  • A delegate is a protocol (interface) that defines methods that an object implements in order to receive specific messages from other objects.

    委托一个协议(介面),定义了许多物件可以实作方法为了接收来自其他物件的特定讯息

    youdao

  • In addition, where a function pointer contains only a reference to a particular function, a delegate consists of a reference to an object, and references to one or more methods within the object.

    另外函数指针包含特定函数的引用而委托对象引用以及对该对象多个方法引用组成。

    youdao

  • You can use the class as-is or in conjunction with the flow delegate object, which allows you to customize the layout information dynamically.

    可以直接使用这个或者实现流动代理对象这样你就可以实现定义动态布局

    youdao

  • Until you unsubscribe from an event, the multicast delegate that underlies the event in the publishing object has a reference to the delegate that encapsulates the subscriber's event handler.

    取消订阅事件之前发行物件内事件底层多点传送委派参考封装订阅者之事件处理常式的委派。

    youdao

  • If it finds a provider, this method will delegate the creation call to that object.

    如果找到提供程序,方法就会创建调用委托该对象。

    youdao

  • After a delegate object is created, the delegate object is typically passed to other code that will call the delegate.

    建立委派物件之后,委派物件通常传递将会呼叫委派的其他程序码

    youdao

  • Completes the dynamic method and creates a delegate that can be used to execute it, specifying the delegate type and an object the delegate is bound to.

    完成动态方法创建一个用于执行方法的委托指定委托类型委托绑定对象

    youdao

  • A delegate object is called by using the name of the delegate object, followed by the parenthesized arguments to be passed to the delegate.

    委派物件使用委派物件名称跟随传递给委派括号引数呼叫

    youdao

  • A delegate object is called by using the name of the delegate object, followed by the parenthesized arguments to be passed to the delegate.

    委派物件使用委派物件名称跟随传递给委派括号引数呼叫

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定