iOS 6?
摘要:今天大早就收到苹果的邮件 Start developing for iOS 6 today.Get your apps ready for iOS 6. Download the SDK and start exploring Maps, Facebook integration, Passbook, Reminders, new features for In-App Purchase and Game Center, new camera APIs, and so much more. iOS 6 beta and Xcode 4.5 Developer Preview with iO..
阅读全文
posted @
2012-06-12 10:42
心不蒙尘
阅读(1581)
推荐(1) 编辑
安装cocos2d的帮助文档(转)
摘要:一,如果顺利的话,按照这个官网的方法就能装上http://www.cocos2d-iphone.org/archives/358二,如果说出了问题,有警告或者错误什么的,就试试这个教程:声明:以下是转来的1 安装doxygen从这里下载 http://www.stack.nl/~dimitri/doxygen/download.html#latestsrc DMG安装包。双击Doxygen.dmg,出现一个窗口,拖动Doxygen图标到Mac系统的/Applications目录下(最关键一步);2 安装Graphviz从这里下载http://www.ryandesign.com/graphvi
阅读全文
posted @
2012-03-31 17:41
心不蒙尘
阅读(1368)
推荐(1) 编辑
ios序列化最终方案
摘要:最近在整合一些与服务器交互的东西,准备使用序列化的一些东西使用NSCoding 来进行NSObject 的序列化实现: 整合了网上搜集的两片文章完成了功能:http://www.cnblogs.com/likwo/archive/2011/05/26/2058134.html-(void)encodeWithCoder:(NSCoder*)coder{Classclazz=[selfclass];u_intcount;objc_property_t*properties=class_copyPropertyList(clazz,&count);NSMutableArray*proper
阅读全文
posted @
2012-03-26 18:04
心不蒙尘
阅读(2238)
推荐(0) 编辑
ios中http 和https 协议的访问
摘要:最近做个项目,开始采用的是HTTP协议实现客户端和服务器端的交互,后来需要改成HTTPS协议。在修改的过程中发现了一些问题,解决方案如下:HTTP: NSString *urlString =[NSString stringWithFormat:@"https://127.0.0.1/default.aspx?USER=%@",@"111"]; NSMutableURLRequest *request = [[[NSMutableURLRequest alloc] init] autorelease]; [request setURL:[NSURL UR
阅读全文
posted @
2012-03-21 14:42
心不蒙尘
阅读(39968)
推荐(0) 编辑
Xcode模拟器和真机生成的日志查看(ios必知必会)
摘要:在进行实际代码开发的过程中,我们会生成一些plist文件,但是如何在调试过程中查看这些plist文件是否被成功生成以及生成的内容是否正确?如果查看模拟器生成的日志和真机生成的日志到底如何查看?DEMO首先生成一个plist文件NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); NSString *documentsDirectroy = [paths objectAtIndex:0];NSString *filename =@"1.plist
阅读全文
posted @
2012-03-09 15:34
心不蒙尘
阅读(18042)
推荐(1) 编辑
图片旋转(transform)出现锯齿如何解决(转)
摘要:原文地址:http://www.cocoachina.com/bbs/read.php?tid=84629 UIView *myView = [[UIView alloc] initWithFrame:CGRectZero];CGRect rect = myView.frame;rect.size = CGSizeMake(100.0, 100.0);myView.frame = rect;myView.center = mainScroller.center;myView.layer.borderColor = [UIColor whiteColor].CGColor;myView.al..
阅读全文
posted @
2012-03-05 17:08
心不蒙尘
阅读(3255)
推荐(0) 编辑
“InstallProhibited” received from device 的异常解决方案
摘要:在往设备上烧制程序的时候,遇到“InstallProhibited” received from device异常,在网上搜了半天,也没有解决,网上搜到的信息最全的就是如下的:http://stackoverflow.com/questions/3345974/installprohibited-received-from-device内容拷贝如下:问:I recently updated my iPhone to iOS 4.0.1 and I cannot use the device for development any more. I have the following error
阅读全文
posted @
2012-03-02 13:27
心不蒙尘
阅读(2296)
推荐(1) 编辑
NSMutableURLRequest,在POST方式下传递参数(转)
摘要:原文地址:http://www.cnblogs.com/anmog/archive/2011/03/09/1978621.html NSMutableURLRequest *request = [[NSMutableURLRequest alloc] init]; NSUserDefaults *defs = [NSUserDefaults standardUserDefaults]; NSLog(@"Load currentCookie:%@", cookie); [request setValue:cookie forHTTPHeaderField:@"C..
阅读全文
posted @
2012-02-27 17:03
心不蒙尘
阅读(7652)
推荐(0) 编辑
plist 的创建和NSMutableDictionary 的initWithContentsOfFile用法(转)
摘要:IOS开发中肯定会用到的。原文地址如下:(我改了一下标题,这样检索的时候更容易找到)http://www.cnblogs.com/85538649/archive/2011/10/27/2226014.htmlNSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);NSString *documentsDirectory = [paths objectAtIndex:0];NSString *path = [documentsDirectory string
阅读全文
posted @
2012-02-27 14:37
心不蒙尘
阅读(4813)
推荐(0) 编辑