码迷,mamicode.com
首页 >  
搜索关键字:jumbo frame    ( 7340个结果
UIDatePicker控件
用处:选择日期或时间 当选择新的日期或时间的时候,值改变事件会被触发-(void)viewDidLoad{ CGRect frame = CGRectMake(20,20,320,100); self.datePicker = [[UIDatePicker alloc]initWithFrame.....
分类:其他好文   时间:2014-08-07 18:22:20    阅读次数:184
UIScrollView的属性总结
contentSize是scrollview可以滚动的区域,比如frame = (0 ,0 ,320 ,480) contentSize = (320 ,960),代表你的scrollview可以上下滚动,滚动区域为frame大小的两倍。contentOffset是scrollview当前显示区域顶...
分类:其他好文   时间:2014-08-07 12:11:29    阅读次数:189
开始真正的技术博客之旅
想自己做个东西,小公司企业管理软件,借此地记录开发过程操作系统:windows8.1框架:struts2 版本struts-2.3.16.3 Hibernate4 版本hibernate-release-4.3.5.Final Spring 版本spring-frame...
分类:其他好文   时间:2014-08-07 00:22:27    阅读次数:276
UISlider控件
用处:在一个连续的区间中选择一个值-(void)viewDidLoad{ [super viewDidLoad]; CGRect frame = CGRectMake(20,20,200,0); self.slider = [[UISlider alloc]initWithFrame:fra...
分类:其他好文   时间:2014-08-06 18:31:51    阅读次数:235
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
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
UITextField控件
用处:输入控件-(void)viewDidLoad{ [super viewDidLoad];//设置大小CGRect frame = CGRectMake(20,20,150,40);//实例化UITextFieldself.tf = [[UITextField alloc]initWithFra...
分类:其他好文   时间:2014-08-06 17:16:41    阅读次数:213
UIKit 小结
nsobject--uiresponder--uiviewuiresponder类定义了一些操作uiview有三个属性: frame, bounds, centercenter用于改变控件位置, bounds 用于改变控件大小UILabel控件:类似于c#的label。CGRect frame = ...
分类:其他好文   时间:2014-08-06 14:16:01    阅读次数:196
[原]零基础学习视频解码之seek
现在,我们要添加一些功能,当你看不能倒带的电影,是不是很烦? 那么函数av_seek_frame功能看起来是多么赏心悦目。我们将让左,右箭头来回走在影片中通过一个小的向上和向下箭头很多,其中“三多一少”是10秒,“很多”为60秒。因此,我们需要设置我们的主循环,用来捕获击键。然而,当我们得到一个按键...
分类:其他好文   时间:2014-08-06 01:54:00    阅读次数:286
extjs 弹出模态窗口
1、定义form [javascript] view plain copy var?form1?=?Ext.create(‘Ext.form.Panel‘,?{?? ????id:‘form1‘,?? ????frame:?true,?? ????//title:?‘Form?Fields‘,?? ????//width:?...
分类:Web程序   时间:2014-08-05 14:28:30    阅读次数:349
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!