码迷,mamicode.com
首页 >  
搜索关键字:super t    ( 6727个结果
Java 基础知识
1. 接口只能用public 来修饰2 http:超文本传输协议 端口 80 smtp:简单邮件传输协议 端口25 ftp 21 ssh 223 public int aMethod(){ static int i=0; i++; }编译出错,不能在类中声明静态变量4 class Super...
分类:编程语言   时间:2014-09-22 12:51:32    阅读次数:255
cocos2dx 特效
切换场景bool HelloWorld::init(){ ////////////////////////////// // 1. super init first if ( !CCLayer::init() ) { return false; } CCSize size =CCDir...
分类:其他好文   时间:2014-09-22 02:39:12    阅读次数:256
Autolayout(自动布局)
VFL语言实现以下界面:- (void)viewDidLoad{ [super viewDidLoad]; //创建上面的view UIView *topView = [[UIView alloc]init]; topView.backgroundColor = [UIColor redCo...
分类:其他好文   时间:2014-09-22 02:33:11    阅读次数:198
老外这样说英文
谢谢:I do appreciated/Much appreciated.Cheers/Cheers mate/Cheers bro (mostly used)Lovely/That's greate/All right/okay/Brilliant/excellent/super/awesome ...
分类:其他好文   时间:2014-09-21 18:29:51    阅读次数:211
scrollview 例子2
代码:#import "RootViewController.h"@implementation RootViewController@synthesize scrollView;- (void)viewDidLoad{ [super viewDidLoad]; // Do any ad...
分类:其他好文   时间:2014-09-21 18:22:30    阅读次数:221
android桌面小火箭升空动画
1 public class MainActivity extends Activity { 2 @Override 3 protected void onCreate(Bundle savedInstanceState) { 4 super.onCreate(sa...
分类:移动开发   时间:2014-09-21 17:48:43    阅读次数:390
java 中 Stringbuff append源代码浅析
public synchronized StringBuffer append(String str) { super.append(str); return this; } // 同步方法public AbstractStringBuilder append(String str) { if (s...
分类:移动开发   时间:2014-09-21 09:08:40    阅读次数:225
loadView, viewDidLoad, viewDidUnLoad,分别是在什么时候被调用的.
loadView 1.什么时候被调用? 每次访问UIViewController的view(比如controller.view、self.view)而且view为nil,loadView方法就会被调用。 2.有什么作用? loadView方法是用来负责创建UIViewController的view 3.默认实现是怎样的? 默认实现即[super loadView...
分类:其他好文   时间:2014-09-20 15:21:59    阅读次数:150
ios 自定义tabbar
.h文件:#import @interface YLYTabBar : UIView@end.m文件#import "YLYTabBar.h"@implementation YLYTabBar- (id)initWithFrame:(CGRect)frame{ self = [super in...
分类:移动开发   时间:2014-09-20 14:56:58    阅读次数:230
KVC方法快速为数据对象赋值
利用KVC方法快速为数据对象赋值,如下例 在.h文件中声明如下形式方法: - (id)initWithDic:(NSDictionary *)dic; 在对应.m文件中 - (id)initWithDic:(NSDictionary *)dic {         self = [super init];         if (self) ...
分类:其他好文   时间:2014-09-20 10:05:07    阅读次数:125
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!