码迷,mamicode.com
首页 >  
搜索关键字:groups @interface    ( 15105个结果
ios7 tableViewCell 图片显示不居中
@interface MyProfileViewCell : UITableViewCell@end@implementation MyProfileViewCell- (void)layoutSubviews{ [super layoutSubviews]; CGRect frame ...
分类:移动开发   时间:2014-08-26 13:09:26    阅读次数:172
OPNET 14.5 + Windows 7 + Visual Studio 2010的一个设置问题
引用:https://groups.google.com/forum/#!msg/opnet/OmOI_bstjTI/GhP-PRhpxEEJ 1- Start-> all programs -> Microsoft Visual studio -> Visual Studio Tools -> then (either) visual studio comand prompt OR ...
分类:Windows程序   时间:2014-08-26 11:58:36    阅读次数:272
instancesRespondToSelector与respondsToSelector的区别
Test1.h@interface Test1 : NSObject- (void)objectFun;+ (void)classFun;@endTest1.m@implementation Test1- (void)objectFun{ NSLog(@"object function");}...
分类:其他好文   时间:2014-08-26 11:06:05    阅读次数:214
简易计算器制作
@interface EricAppDelegate () { UIView *_containView; UILabel *_label; UIButton *_butt; NSMutableString *str; } @property(assign,nonatomic)double num1,num2,num3,num4; @end @implementa...
分类:其他好文   时间:2014-08-26 09:56:45    阅读次数:257
内存管理初级基础--代码
person类-----》.h文件#import<Foundation/Foundation.h> @interfacePerson:NSObject<NSCopying>//使用copy必须引入NSCopying协议。。。 //语义设置 //1.NSString接收了copy协议, //2.大多数规范化 @property(nonatomic,copy)NSString*name; @property(nonat..
分类:其他好文   时间:2014-08-26 03:11:16    阅读次数:255
[Go语言]从Docker源码学习Go——Interfaces
Interface定义:type Namer interface { Method1(param_list) return_type Method2(param_list) return_type ...}注:1. interface中不能包含变量2. 一个类型不用显式去定义实现某...
分类:编程语言   时间:2014-08-26 00:27:15    阅读次数:265
CF-85D-Sum of Medians(线段树)
In one well-known algorithm of finding the k-th order statistics we should divide all elements into groups of five consecutive elements and find the median of each five. A median is called the middl...
分类:其他好文   时间:2014-08-25 22:50:55    阅读次数:297
Linux-网络操作相关命令--ifconfig;ip
Linux网络操作命令的一个特点是,命令参数选项和功能很多,一个命令往往还可以实现其它命令的功能。ifconfig1.作用ifconfig用于查看和更改网络接口的地址和参数,包括IP地址、网络掩码、广播地址,使用权限是超级用户。2.格式ifconfig-interface[options]address3.主要参数-int..
分类:系统相关   时间:2014-08-25 19:35:05    阅读次数:240
Golang的多态
Golang的多态是个技巧性质的东西,我看许式伟的书中并未提到真正意义的多态,我自己摸索了一下,我觉得以下的书写,可能最复合工程需要。首先看例1:type IFly interface { fly()}type A struct {}func (a A) fly() { println(...
分类:其他好文   时间:2014-08-25 14:35:04    阅读次数:873
ti8168 eth0 启动
ti8168 原始文件系统进去后没有网络eth0接口,为了有该接口需要配置/etc/network/interfaces 文件 具体配置如下(红色要配置)     # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)   # The loopback interface auto lo ifac...
分类:其他好文   时间:2014-08-25 11:50:04    阅读次数:249
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!