码迷,mamicode.com
首页 >  
搜索关键字:self    ( 14215个结果
JavaWeb-04(BOM&DOM)
JavaWeb-04 JavaWeb-BOM&DOM BOM 一、知识回顾 * BOM 概述 * BOM 的各个对象 * window对象 innerHeight,innerWidth document.body.clientWidth,document.body.clientHeight, self opener:...
分类:编程语言   时间:2015-03-31 16:11:28    阅读次数:283
ios 动态设置Cell的高度
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{        self.mainTitle=[[UILabel alloc]init];             self.mainTitle.numberOfLines=0;   ...
分类:移动开发   时间:2015-03-31 16:04:04    阅读次数:145
关闭动画效果
[showView setModalTransitionStyle:UIModalTransitionStyleCoverVertical]; [self presentViewController:showView animated:YES completion:nil];-(void)btnP....
分类:其他好文   时间:2015-03-31 14:37:23    阅读次数:97
可视化编程中----cell的自适应高度
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{Joke *joke = self.dataArray[indexPath.row];NSString *co...
分类:其他好文   时间:2015-03-31 14:35:54    阅读次数:97
python获取各个时间段
#当前一周 def week_get_now(self): import datetime d = datetime.datetime.now() dayscount = datetime.timedelta(days=d.isoweekday...
分类:编程语言   时间:2015-03-31 14:31:29    阅读次数:249
自制模仿apache访问日志文件格式的php日志类
root_path = $root_path.DIRECTORY_SEPARATOR;self::$log_file_path = $this->root_path .'logfile'.DIRECTORY_SEPARATOR .date('Y_m_d',time()).'.log';}// 获取访...
分类:Web程序   时间:2015-03-31 12:29:08    阅读次数:162
新知识
block作为变量时,属性应为(nonatomic,copy),在注册通知时需要在dealloc方法中remove掉。viewcontroller执行顺序,init loadview viewdidload viewwillappear viewdidappear。.在一个对象的方法里面:self....
分类:其他好文   时间:2015-03-31 12:10:57    阅读次数:115
3.30 学习笔记
关闭键盘:self.num resginfirstResponder;让试图关闭见键盘self.view enditing:yes.h 文件 公有扩展.m文件 私有扩展 中书写私有的扩展IBaction 本质上是一个void 只不过多了一个 连线oc是一个动态语言编译正确 但是 有的时候无法运行UI...
分类:其他好文   时间:2015-03-31 00:36:12    阅读次数:115
IOS关于UIViewController之间的切换
1.NavigationController切换UIViewController的两种方式方法一右侧进入1 SecondViewController* svc=[[SecondViewController alloc]init];2 [self.navigationController pushVi...
分类:移动开发   时间:2015-03-30 20:36:35    阅读次数:218
ObjectC----便利构造器和指定初始化
//  Creat By 郭仔  2015年03月30日16:33:12 指定初始化方法是对父类的init方法实现的重载,没必要在.m文件中进行声明,此方法被本类中其他方法调用。 方法的实现: -(instancetype)init { if(self = [super init])  //也可以self = [self init],以便被本类中其他方法(init方法)调用。此处self...
分类:其他好文   时间:2015-03-30 18:50:11    阅读次数:127
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!