`
简单的茶
  • 浏览: 85845 次
  • 性别: Icon_minigender_2
  • 来自: 昆明
社区版块
存档分类
最新评论
文章列表
错误的写法: predicate = [NSPredicate predicateWithFormat:[NSString stringWithFormat:@"linkId != %d", self.toMergerdContactLinkId]]; 正确写法:    predicate = [NSPredicate predicateWithFormat:[NSString stringWithFormat:@"linkId != %@", [NSNumber numberWithInteger:self.toMergerdContactLinkI ...
    Mac虚拟机升级为Lion系统了,在iPhone模拟机调试时经常想访问应用程序的Document目录看看里面发生的状况,但在Lion系统中却找不到~/Library/Application Support/iPhone Simulator文件夹了。原来需要在Finder中这个~/Library文件夹默认是隐藏的,需要用特殊的办法才能显示。 第一种办法: 在Finder中,按住Option键,再到"前往"菜单中找到"资源库"项,久违的Application Support项终于可以看见了。 第二种办法: 在Finder中,按Command+Shift ...
     Client 端连接服务器时会有时会遇到一下错误:   Error Domain=NSOSStatusErrorDomain Code=-9807 "The operation couldn’t be completed. (OSStatus error -9807.)" UserInfo=0xaeaae0   -9807 对应的错误描述为:errSSLXCertChainInvalid—The peer has an invalid certificate chain; for example, signature verification within th ...
src: http://www.cnblogs.com/v2m_/archive/2012/01/18/2325782.html
方法1:      在applicationDidFinishLaunching函数里添加       [[NSNotificationCenter defaultCenter] addObserver:self                                              selector:@selector(volumeChanged:)                                              name:@"AVSystemController_SystemVolumeDidChangeNotification" ...
src: http://publib.boulder.ibm.com/infocenter/db2luw/v9/index.jsp?topic=%2Fcom.ibm.db
src: http://cocoawithlove.com/2010/05/handling-unhandled-exceptions-and.html
src:   http://blog.csdn.net/ch_soft/article/details/6674224
   UIScrollViewDelegate has got two delegate methods scrollViewDidScroll: and scrollViewDidEndScrollingAnimation: but neither of these tell you when scrolling has completed.    scrollViewDidScroll only notifies you that the scroll view did scroll not that it has finished scrolling.   scrollViewDidEn ...
src:http://blog.csdn.net/kmyhy/article/details/6869260 苹果无敌风火轮如果不是那么酷的话,我们就不需要定制它了。可惜的是,UIActivityIndicator只有一个初始化方法 initWithActivityIndicatorStyle,我们一不能任意改变它的大小——有时候我们需要一个比 UIActivityIndicatorViewStyleWhiteLarge还要更大的无敌风火轮;二,它不够友好——我们需要在风火轮的下面显示一些友好的提示信息。 为此,我们不惜代价,自己用一个UIActivityIndicator控件和用Quar ...
src :   http://dan.febird.net/2011/08/52356-google-voice-talk-all-in-one.html
src: http://www.raywenderlich.com/2454/how-to-use-uiview-animation-tutorial
原文出处: http://blog.csdn.net/duanyipeng/article/details/7101829
原文出处: http://blog.csdn.net/cococoolwhj/article/details/6944572 soulutions:   1. 设置环境变量NSZombieEnabled-YES   2.设置环境变量MallocStackLogging-YES    出错的时候shell malloc_history pid address    pid: ProcessID    address: 变量的内存地址
这个是charles在mac上的使用方法 http://www.ravelrumba.com/blog/ipad-http-debugging/ 如果需要抓取电脑本身的请求包,选中proxy->Mac OS X proxy
Global site tag (gtag.js) - Google Analytics