50.直接创建的tab记得设置数据源self.tableView.dataSource = self; 51. -(NSString *)tableView:(UITableView *)tableView titleForFooterInSection:(NSInteger)section设置组尾 ...
分类:
移动开发 时间:
2016-06-03 19:04:48
阅读次数:
291
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 -(void)viewDidLayoutSubviews { if ([self.mytableview respondsToSelector:@selector(setSeparatorInset:) ...
分类:
移动开发 时间:
2016-06-03 19:03:56
阅读次数:
195
字典 常用操作: 索引 新增 删除 键、值、键值对 循环 长度 字典由键值对组成,由一个键(名称)和 一个值组成,与列表和元组不同的是里面的元素是有键的(名称) 所以当要打印字典时,打印字典变量加[键]即可 创建字典 索引 打印字典变量加[要打印的键] for循环 keys(self) """(获取 ...
分类:
其他好文 时间:
2016-06-03 15:43:48
阅读次数:
224
- (IBAction)buttonPressed:(id)sender { NSDate *date=self.datePicker.date; NSString *message=[[NSString alloc]initWithFormat:@"The date and time you se ...
分类:
移动开发 时间:
2016-06-03 15:39:32
阅读次数:
313
1、如果要打开一个新的窗口,就加上参数 _blank,如下所示: <a href = "javascript:onClick=window.open(url, '_blank ' "> 2、如果你想弹出的窗口代替本身的话,将参数换为 _self 即可,如下所示: <a href = "javascr ...
功能 让labe具有超链接效果链接 KILable开启关闭标签的点击事件self.label.automaticLinkDetectionEnabled = sender.isOn打开URL点击事件self.label.linkDetectionTypes |= KILinkTypeOptionUR... ...
分类:
其他好文 时间:
2016-06-03 14:12:06
阅读次数:
576
PHP编程中经常需要用到一些服务器的一些资料,特把$_SERVER的详细参数整理下,方便以后使用。 $_SERVER['PHP_SELF'] #当前正在执行 脚本的文件名,与 document root相关。 $_SERVER['argv'] #传递给该 脚本的参数。 $_SERVER['argc' ...
分类:
Web程序 时间:
2016-06-03 12:36:38
阅读次数:
184
self.allowsSelection = NO; ...
分类:
其他好文 时间:
2016-06-03 10:07:51
阅读次数:
123
You are given an array x of n positive numbers. You start at point (0,0) and moves x[0] metres to the north, then x[1] metres to the west, x[2] metres ...
分类:
其他好文 时间:
2016-06-03 06:34:07
阅读次数:
152
连同导航侧滑返回手势消失 self.navigationController.navigationBarHidden = YES; 只消失导航 self.navigationController.navigationBar.hidden = YES; 导航控制器全屏滑动返回效果: 1.导航控制器的v ...
分类:
其他好文 时间:
2016-06-02 18:01:24
阅读次数:
107