XSLT存档  

不及格的程序员-八神

 查看分类:  ASP.NET XML/XSLT JavaScripT   我的MSN空间Blog
02 2013 档案
利用Segue在视图控制器间传值的问题
摘要:-(void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender{1 if([[segue identifier] isEqualToString:@"groupPopoverSegue"])2 {3 UIViewController *vc = segue.destinationViewController; //popover 视图控制器时,ios5视图控制器会马上执行viewdidload,ios6中当你显示执行第5行语句时也会执行viewdidload。非popover会等prepareFor.. 阅读全文
posted @ 2013-02-25 15:21 不及格的程序员-八神 阅读(2361) 评论(0) 推荐(0)
UITableViewCell 为什么有时会自动添加一个空的UILabel?
摘要:self.contentView 里有时会出这样的子视图。。。。<UILabel: 0x81667f0; frame = (0 0; 0 0); clipsToBounds = YES; userInteractionEnabled = NO; layer = <CALayer: 0x8166880>> 阅读全文
posted @ 2013-02-22 17:45 不及格的程序员-八神 阅读(263) 评论(0) 推荐(0)
Objective-c 字符串比较的陷井
摘要:(lldb) po [success compare:@"yes"] $1 = 0 <nil> (lldb) p [success compare:@"yes"] (int) $2 = 0 (lldb) p [success isEqualToString:@"yes"] 安全写法 (char) $ 阅读全文
posted @ 2013-02-22 16:53 不及格的程序员-八神 阅读(194) 评论(0) 推荐(0)
jQuery开始做恶了
摘要:我是从asp时代过来的程序员,那个时代如果你传一个name相同的多个表单元素到后台时,它会形成一个数组,你可以获取name就行了, 但是当jQuery1.4出来时就不一样了,它改变了规则,它默认加了[]符号到name后面,变成了name[]. {foo: ["bar", "baz"]} 会被序列化为 阅读全文
posted @ 2013-02-20 09:10 不及格的程序员-八神 阅读(3119) 评论(3) 推荐(0)
AX ERROR: Could not find my mock parent, most likely I am stale
摘要:AX ERROR: Could not find my mock parent, most likely I am stale使用设计好的cell做为表头视图,控制出现的log,挺有意思。 1 - (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section 2 { 3 4 IoriTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"DataDetailHeadCell"]; 5 阅读全文
posted @ 2013-02-01 16:52 不及格的程序员-八神 阅读(932) 评论(0) 推荐(0)