码迷,mamicode.com
首页 >  
搜索关键字:note to self    ( 21530个结果)
Master Note for Diagnosing ORA-7445 and Related Core Dumps (文档 ID 1092855.1)
In this DocumentDetailsActionsConcepts/DefinitionsDiagnosing (starting point is Note 7445.1)Additional ResourcesCommunity: Incident (600-7445) Analysi...
分类:其他好文   时间:2014-08-06 18:25:41    阅读次数:339
Odoo 8.0 new API 之one装饰
one装饰器的作用是对每一条记录都执行对应的方法,相当于traditional-style中的function应用举例:定义的columnsnow = fields.Datetime(compute='_compute_now')方法:@onedef _compute_now(self): s...
分类:Windows程序   时间:2014-08-06 18:24:51    阅读次数:300
UISwitch控件
用处:开关空间,用于处理两种状态-(void)viewDidLoad{ [super viewDidLoad]; CGRect frame = CGRectMake(20,20,0,0); self.switch = [[UISwitch alloc]initWithFrame:frame]; //...
分类:其他好文   时间:2014-08-06 18:23:01    阅读次数:213
Swift游戏实战-跑酷熊猫 12 与平台的碰撞
这节主要实现熊猫和平台的碰撞,实现熊猫在平台上奔跑要点对平台进行物理属性设置//设置物理体以及中心点self.physicsBody = SKPhysicsBody(rectangleOfSize: CGSizeMake(self.width, self.height), center: CGPoi...
分类:其他好文   时间:2014-08-06 18:07:31    阅读次数:328
Odoo 8.0 new API 之model 装饰
model装饰器的作用是返回一个集合列表应用举例:定义columnslangs = fields.Selection(string="Lang",selection="_get_lang") 方法定义:@api.modeldef _get_lang(self): langs = self.en...
分类:Windows程序   时间:2014-08-06 17:44:51    阅读次数:589
UIButton控件
-(void)viewDidLoad{//初始化self.btn1 = [UIBotton buttonWithType:UIButtonTypeRoundedRect];//设置大小self.btn1.frame = CGRectMake(20,20,100,50);//设置标题[self.btn...
分类:其他好文   时间:2014-08-06 17:41:01    阅读次数:172
两幅图说明python类中self的含义
总结:self是对于对象自身的引用。这里的圆括号里的self也可以换成其它你想要的任意名称,只是self更形象和通用些。
分类:编程语言   时间:2014-08-06 17:36:01    阅读次数:222
HDU4911:Inversion
Problem Description bobo has a sequence a1,a2,…,an. He is allowed to swap two adjacent numbers for no more than k times. Find the minimum number of inversions after his swaps. Note: The numbe...
分类:其他好文   时间:2014-08-06 14:51:38    阅读次数:177
HDU - 4911 Inversion
Problem Description bobo has a sequence a1,a2,…,an. He is allowed to swap two adjacent numbers for no more than k times. Find the minimum number of inversions after his swaps. Note: The number...
分类:其他好文   时间:2014-08-05 22:44:03    阅读次数:248
关于presentViewController的后的background变黑的问题
先看一下效果图: 用如下代码,想弹出一个模态窗口,设置它的背景透明度为0.5,却发觉prsent后的背景色变为黑色的。 ShareVC *share = [[ShareVC alloc] init]; [self presentViewController:share animated:YES completion:nil]; 起初还以为是设置透明度或者是[UIColor clear...
分类:其他好文   时间:2014-08-05 22:41:00    阅读次数:339
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!