@interface MyProfileViewCell : UITableViewCell@end@implementation MyProfileViewCell- (void)layoutSubviews{ [super layoutSubviews]; CGRect frame ...
分类:
移动开发 时间:
2014-08-26 13:09:26
阅读次数:
172
引用: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 ...
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
Interface定义:type Namer interface { Method1(param_list) return_type Method2(param_list) return_type ...}注:1. interface中不能包含变量2. 一个类型不用显式去定义实现某...
分类:
编程语言 时间:
2014-08-26 00:27:15
阅读次数:
265
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网络操作命令的一个特点是,命令参数选项和功能很多,一个命令往往还可以实现其它命令的功能。ifconfig1.作用ifconfig用于查看和更改网络接口的地址和参数,包括IP地址、网络掩码、广播地址,使用权限是超级用户。2.格式ifconfig-interface[options]address3.主要参数-int..
分类:
系统相关 时间:
2014-08-25 19:35:05
阅读次数:
240
Golang的多态是个技巧性质的东西,我看许式伟的书中并未提到真正意义的多态,我自己摸索了一下,我觉得以下的书写,可能最复合工程需要。首先看例1:type IFly interface { fly()}type A struct {}func (a A) fly() { println(...
分类:
其他好文 时间:
2014-08-25 14:35:04
阅读次数:
873
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