代码改变世界

阅读排行榜

iphone-地理位置相关

2010-10-14 19:49 by Tracy E, 472 阅读, 收藏,
摘要: 调用google map应用: NSString *strUrl = [NSString stringWithFormat:@"http://maps.google.com/maps?q=%@",[[stationArr objectAtIndex:tag] _position]]; strUrl = [strUrl stringByAddingPercentEscapesUsingEncodin... 阅读全文

学习正则表达式

2013-06-23 19:23 by Tracy E, 387 阅读, 收藏,
摘要: 字符简写式字符简写式描述字符简写式描述\d报警符\w单词字符[\b]退格字符\W非单词字符\c x控制字符\0空字符\d数字字符\x xx字符的十六进制\D非数字字符\u xxx字符的 Unicode 值\o xxx字符的八进制匹配各种空白符字符简写式描述字符简写式描述\f换页符\s空白符\h水平空白符\S非空白符\H非水平空白符\t水平制表符\n换行符\v垂直制表符\r回车符\V非垂直制表符在 sed 中使用正则替换$ echo Hello | sed s/Hello/Goodbye///Goodbye* 插入$ sed 's/^//; s/$//p; q'Hello Sed 阅读全文

最常被程序员们谎称读过的计算机书籍

2012-08-26 14:10 by Tracy E, 381 阅读, 收藏,
摘要: 转自外刊IT评论网:http://www.aqee.net/books-programmers-dont-really-read/ 马克·吐温曾经说过,所谓经典小说,就是指很多人希望读过,但很少人真正花时间去读的小说。这种说法同样适用于“经典”的计算机书籍。在Stack Overflow(以及其它很多软件论坛)上,诸如”程序员最应该读的计算机书籍有哪些?“这样的问题会周期性的出现。这样的问题不断的被提出、被回答,只是形式不同罢了。相同的几本书总是会出现在清单的前几名内,所以,如果想知道人们谈论的都是些什么,你有必要去读一读这些书的。大多数程序员真正读过的计算机书籍代码大全(Code 阅读全文

Memory Management in Objective-C

2010-07-28 17:22 by Tracy E, 372 阅读, 收藏,
摘要: Rules:You only release or autorelease your own objects 1 Your own objects including these you created it with a method begins with "alloc" or "new" or contains "copy"(alloc,newObject,or mutableCopy),o... 阅读全文

The View management cycle

2010-08-11 21:00 by Tracy E, 307 阅读, 收藏,
摘要: Load cycle1 Some part of your application asks for the view in controller's View property.2 If the view is not currently in memory, the view controller calls its loadView method.3 The loadView method ... 阅读全文
上一页 1 ··· 8 9 10 11 12 13 下一页