走路应该留下脚印

人生的代码我来书写

导航

随笔分类 -  iphone开发

ipv6过审函数
摘要:int _ResolveIPv4Address(const char* ipv4_str, char* buffer, int bufferSize) { struct addrinfo hints, *res; memset(&hints, 0, sizeof(hints)); hints.ai_family = PF_UNSPEC; hints.ai... 阅读全文

posted @ 2016-11-18 16:25 wingfay 阅读(198) 评论(0) 推荐(0)

转.iPhone开发网站、论坛、博客
摘要:http://cocoachina.com/ 大量iPhone开发资料,教学,经验,还有自曝。http://www.javaeye.com/forums/board/mobile iPhone开发论坛,人气鼎盛,大量自曝,还有Android的讨论http://developer.apple.com/iphone/ 苹果iPhone开发官方主页,提供大量实例、文档和教学视频http://developer.apple.com/contact/phone.html 苹果的支持http://www.stanford.edu/class/cs193p/ 斯坦福大学的iPhone课程http://bit 阅读全文

posted @ 2011-05-13 14:14 wingfay 阅读(249) 评论(0) 推荐(0)

NSLog的使用
摘要:NSLog的定义 NSLog定义在NSObjCRuntime.h中,如下所示: void NSLog(NSString *format, …); 基本上,NSLog很像printf,同样会在console中输出显示结果。不同的是,传递进去的格式化字符是NSString的对象,而不是chat *这种字符串指针。 示例 NSLog可以如下面的方法使用: NSLog (@"this is a test"); NSLog (@"string is :%@", string); NSLog (@"x=%d, y=%d", 10, 20); 但是 阅读全文

posted @ 2011-03-31 16:35 wingfay 阅读(309) 评论(0) 推荐(0)