This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NSURL *tempURL = [[NSURL alloc] initWithString:hotelImage]; | |
self.hotelImg = tempURL; | |
TT_RELEASE_SAFELY(tempURL); | |
// self.hotelImg = [NSURL URLWithString:hotelImage]; | |
找到原因了,大伙看代码。。。。,正确的dealloc方法,却碰到这样蛋疼的写法。。。 感觉是过度防卫,。。。 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://github.com/ignaval/asi-http-request/commit/c782abbeb204156d30ecbb902915d1eaf9b10f9e |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mac下git与github简单使用 | |
2011-09-14 09:28:17| 分类: 默认分类 |字号 订阅 | |
准备工作: | |
下载安装git客户端 http://code.google.com/p/git-osx-installer/downloads/list?can=3 | |
注册github账号 https://github.com/ -->Pricing and Signup -->Create a free account | |
创建ssh: | |
在local打开terminal: | |
$cd ~/.ssh 检查是否已经存在ssh | |
如果存在,先将已有的ssh备份,或者将新建的ssh生成到另外的目录下 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://mac.pcbeta.com/ | |
http://mac.pcbeta.com/thread-106993-1-1.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://www.opensource.apple.com/release/mac-os-x-105/ | |
http://llvm.org/ | |
http://lldb.llvm.org/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://www.logicaltrinkets.com/wordpress/?p=178 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://code.google.com/p/gtm-http-fetcher/ | |
http://stackoverflow.com/questions/8317662/asihttprequest-request-sent-twice?answertab=active#tab-top | |
request.shouldAttemptPersistentConnection = NO; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
quene = [[ASINetworkQueue alloc] init]; | |
//quene.delegate = self; | |
ASIHTTPRequest *request =[[ASIHTTPRequest alloc] initWithURL:[[[NSURL alloc] initWithString:@"http://www.baidu.com"]autorelease]]; | |
[request setQueue:quene]; | |
request.delegate = self; | |
ASIHTTPRequest *request2 =[[ASIHTTPRequest alloc] initWithURL:[[[NSURL alloc] initWithString:@"http://www.google.com"]autorelease]]; | |
request2.delegate = self; | |
[quene addOperation:request]; | |
[quene addOperation:request2]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://www.cnblogs.com/likwo/archive/2012/04/16/2451577.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://stackoverflow.com/questions/1808320/iphone-setanimationwillstartselector-setanimationdidstopselector-not-working-a |