码迷,mamicode.com
首页 >  
搜索关键字:interface    ( 13681个结果
iOS 为自定义tableView添加button点击事件后获取其序号
在自定义tableView中,为cell添加button点击事件后,如何获取其对应的序号?1、创建tableView:先创建一个成员变量:@interface MyCameraViewController (){ UITableView *_tableView;}@end在viewDidLoad中....
分类:移动开发   时间:2014-06-28 16:29:13    阅读次数:347
接口分离原则(Interface Segregation Principle)
接口分离原则(The Interface Segregation Principle)表述为“客户类不应被强迫依赖那些它们不需要的接口。(Clients should not be forced to depend upon interfaces that they do not use.)”。本篇...
分类:其他好文   时间:2014-06-28 13:39:35    阅读次数:312
单例的2种使用方式
一直都对设计模式,限于书本的理论知识,今天终于用到了众多设计模式中的一种,单例模式。一共有2种使用方法。第一种是用它里面的函数,第二种是用它里面的变量。上代码:第一种,用里面的函数。单例.h@interface NetManager : NSObject+ (id)sharedManager;-(v...
分类:其他好文   时间:2014-06-28 11:36:36    阅读次数:172
Openvswitch手册(5)
我们这一节来看Port 一般来说一个Port就是一个Interface,当然也有一个Port对应多个Interface的情况,成为Bond VLAN Configuration Port的一个重要的方面就是VLAN Configuration,有两种模式: trunk port,这个port不配置t...
分类:其他好文   时间:2014-06-24 10:30:41    阅读次数:427
Part2 – OPENVSWICH – VLANs, Trunks, L3 VLAN interface, InterVLAN Routing – Configuration And Testing
In a previous tutorial we showed how to install Openvswitch on Qemu image with Microcore Linux. At the end of tutorial we created Openvswitch extensio...
分类:其他好文   时间:2014-06-24 10:15:40    阅读次数:610
Linux上vi(vim)编辑器使用教程
vi(vim)是上Linux非常常用的编辑器,很多Linux发行版都默认安装了vi(vim)。vi(vim)命令繁多但是如果使用灵活之后将会大大提高效率。vi是“visual interface”的缩写,vim是vi IMproved(增强版的vi)。在一般的系统管理维护中vi就够用,如果想使用代码...
分类:系统相关   时间:2014-06-24 10:06:02    阅读次数:410
JNDI 是什么
JNDI是 Java 命名与文件夹接口(Java Naming and Directory Interface),在J2EE规范中是重要的规范之中的一个,不少专家觉得,没有透彻理解JNDI的意义和作用,就没有真正掌握J2EE特别是EJB的知识。那么,JNDI究竟起什么作用?要了解JNDI的作用,我们...
分类:其他好文   时间:2014-06-24 09:55:24    阅读次数:255
Linux的X Window与命令行模式
Linux的登陆方式Linux默认的登陆方式主要分为两种:1.文本界面的登陆环境,也称为命令行界面(Command Line Interface,CLI)或终端界面(Terminal或Console)。2.图形用户界面(Graphical User Interface,GUI)的登陆环境,X Win...
分类:Windows程序   时间:2014-06-24 09:18:02    阅读次数:232
创建C#DLL
1. 创建classlibrary2.编写一个COM接口和一个COM类 [Guid("DBE0E8C4-1C61-41f3-B6A4-4E2F353D3D05")] public interface IManagedInterface { int PrintHi(string name); }...
分类:其他好文   时间:2014-06-23 06:52:51    阅读次数:245
Using self-defined Parcelable objects during an Android AIDL RPC / IPC call
Using self-defined Parcelable objects during an Android AIDL RPC / IPC callIn my previous post “Using the Android Interface Definition Language (AIDL)...
分类:移动开发   时间:2014-06-20 16:30:16    阅读次数:537
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!