码迷,mamicode.com
首页 >  
搜索关键字:groups @interface    ( 15105个结果
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
IOS 隐藏键盘。
在View的UITextField中经常需要输入完文字后隐藏软键盘,要实现着一点要让View的Controller实现UITextFieldDelegate代理,然后编写相应的代码。#import @interface TestVeiwController : UIViewController {I...
分类:移动开发   时间:2014-06-21 08:25:09    阅读次数:253
UITableView 如何展示数据
如果想要在UITableView中添加数据,需要一个数据源(dateSource)来显示数据1.首先添加数据源@interface PPViewController () 2.遵守协议,实现数据源#pragma mark - 数据源//一共有多少组数据- (NSInteger)numberOfSec...
分类:其他好文   时间:2014-06-21 07:04:54    阅读次数:195
CCNA 6.5
no sh (no shutdown : start the interface)router rspf 1network x.x.x.x x.x.x.x area 0int (interface)show ip route (to see routing table entries)RIPRtr(...
分类:其他好文   时间:2014-06-21 00:03:48    阅读次数:319
CCNA 6.6
sh run (show running-config)enable disable login logout exit endenable passwordprivilege level(global)privilege level(line)show interface serial 1/1di...
分类:其他好文   时间:2014-06-20 23:51:05    阅读次数:437
JNDI 是什么
JNDI是 Java 命名与文件夹接口(Java Naming and Directory Interface),在J2EE规范中是重要的规范之中的一个,不少专家觉得,没有透彻理解JNDI的意义和作用,就没有真正掌握J2EE特别是EJB的知识。那么,JNDI究竟起什么作用?要了解JNDI的作用,我们...
分类:其他好文   时间:2014-06-20 21:03:49    阅读次数:132
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
迷上了代码!