02 2012 档案
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 心不蒙尘 阅读(7663) 评论(0) 推荐(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 心不蒙尘 阅读(4828) 评论(0) 推荐(0)