查看控制器实现的数据源方法之后,我们来看看控制器实现的代理方法,如清单7所示。
Having seen the data source methods implemented by the controller, take a look at the delegate methods that it implements in Listing 7.
由于代理是控制器类,因此您可以实现那4个方法中的任何一个—它们都是可选的。
Since the delegate is the controller class, you can implement any of those four methods-and they are all optional.
注意,我们还将表的代理和数据源设置为self,这意味着控制器将实现代理和数据源方法。
Notice that we also set the table's delegate and data source to self. That means that the controller will implement delegate and data source methods.
一般推荐使用上面例子的方法创建代理,因为它允许你通过配置net . sf . cglib . proxy. Enhancer实例很好的控制代理的创建。
It is preferred to use the approach shown in the above example because it allows you to configure the net.sf.cglib.proxy.Enhancer instance to fine control the generated proxies.
美国疾病控制中心负责科研和健康事务的代理主任舒哈特说,美国有比关闭边境更有效的方法来防范病毒的蔓延。
Rear Admiral Anne Schuchat, the Center for Disease Control's interim science and public health deputy director, said there are more effective ways to curb the spread of the virus.
我正在开发一款将各种不同人工智能方法结合起来从而控制网上虚拟世界的虚拟人类代理人还有控制实体机器人的软件程序。
I'm working on creating a software system that combines a variety of different AI methods to control virtual humanoid agents in online virtual worlds, as well as control physical robots.
首先给出一个以会话为中心采用面向代理编程和形式化方法的认知控制体系结构。
A dialogue centric cognitive control architecture is presented, which utilizes both agent-oriented programming and formal methods.
而对渠道策略中,针对陕西建设机械股份有限公司刚刚采用代理制的特点,提出了关于渠道选择、渠道管理和渠道控制的一些方法。
We also put forward some ideas about channel choice, channel management and channel control according to the agent system adopted by Shaanxi Construction Machinery co.
本发明提供了一种集中能源管理方法和系统、设备侧代理以及集中能源管理控制器。
The invention provides a centralized energy management method and a system therefor, an agent on a device side and a centralized energy management controller.
本发明提供了一种集中能源管理方法和系统、设备侧代理以及集中能源管理控制器。
The invention provides a centralized energy management method and a system therefor, an agent on a device side and a centralized energy management controller.
应用推荐