2011. Nine Digits
Constraints
Time Limit: 2 secs, Memory Limit: 256 MB
Description
Nine tiles, each with a number from 1 to 9 on it, are packed into a 3 by 3 frame. Your task is to...
分类:
其他好文 时间:
2015-05-30 13:38:40
阅读次数:
146
function?diaglogs(){
??Ext.onReady(function(){?
???var?_window=new?Ext.Window({?
???title:"选择批语",?
???renderTo:Ext.getBody(),?
???frame:true,?
???plain:true,?
???r...
分类:
Web程序 时间:
2015-05-29 21:51:01
阅读次数:
269
新建一个button视图:拖拽一个button到视图里即可代码varbtn=UIButton(frame:CGRectMake(20,20,100,200))//初始化一个button的位置(x,y,width,height)
self.view.addSubView(btn)//把他添加到视图中button常用属性Type:Systemios7以前是圆角矩形Title标题Font字体字号Tex..
分类:
移动开发 时间:
2015-05-29 18:28:38
阅读次数:
284
调用contextWithOptions:和createCGImage: fromRect:方法创建CIContext。与以往不同的地方是CIImage没有frame与bounds属性;只有extent属性。你将非常频繁的使用这个属性作为createCGImage: fromRect:方法的第二个参...
分类:
其他好文 时间:
2015-05-28 19:54:32
阅读次数:
218
birthDate = [[UIDatePicker alloc] initWithFrame:CGRectMake(0,500/2,self.view.frame.size.width, 88/2)]; birthDate.datePickerMode = UIDateP...
分类:
其他好文 时间:
2015-05-28 19:54:04
阅读次数:
160
XCODE UITextField 中的属性和用法 一些基本的用法UIButton *button = [UIButton buttonWithType:UIButtonTypeRoundedRect]; CGRect frame =CGRectMake(110, 100, 100, 30); .....
分类:
其他好文 时间:
2015-05-28 19:53:11
阅读次数:
143
大部分Extjs的Windows问题:在Extjs4代码中,只要加几句话:frame:true, //这个窗口的边边是圆的 border : false , //窗口没有边框draggable: true, //允许窗口被拖动resizable: true,//允许窗口大小可以被改动ghost:fa...
分类:
Web程序 时间:
2015-05-27 18:41:22
阅读次数:
198
UIView:- (void)drawRect:(CGRect)rect { [super drawRect:rect]; CGRect frame = CGRectMake(50, 100, 100, 100); /*画填充圆 */ CGContextRef...
分类:
移动开发 时间:
2015-05-27 13:47:14
阅读次数:
614
Android动画学习
android中动画分为3种:
Tween Animation:通过对场景里的对象不断做图像变换(平移、缩放、旋转)产生的动画效果,即是一种渐变动画。
Frame Animation:顺序播放事先做好的图像,是一种画面转换动画。
Property Animation:属性动画,通过动态地改变对象的属性从而达到动画效果,属性动画为API 11新特性。
Twe...
分类:
移动开发 时间:
2015-05-27 01:03:00
阅读次数:
264
mark for myself.
以下为自己开发过程中遇到并使用到的一些方法。更多的学习笔记以后用到同步更新。
//自适应高度:
- (void)webViewDidFinishLoad:(UIWebView *)webView {
CGRect frame = webView.frame;
CGSize fittingSize = [webView sizeT...
分类:
移动开发 时间:
2015-05-26 21:25:31
阅读次数:
129