01 2013 档案

摘要:NSData* sendData = [self.fileName.text dataUsingEncoding:NSUTF8StringEncoding]; NSDictionary *sendDictionary = [NSDictionary dictionaryWithObject:sendData forKey:@"name"]; AFHTTPClient *httpClient = [[AFHTTPClient alloc] initWithBaseURL:remoteUrl]; NSMutableURLRequest *afRequest = [httpCl. 阅读全文
posted @ 2013-01-19 14:37 阿新 阅读(5223) 评论(0) 推荐(0) 编辑
摘要:@{ }<!DOCTYPE html><html lang="zh"> <head> <meta name="viewport" content="initial-scale=1.0, user-scalable=no" /><script type="text/javascript" src="https://maps.google.com/maps/api/js?sensor=false"> </script> < 阅读全文
posted @ 2013-01-13 19:31 阿新 阅读(869) 评论(0) 推荐(0) 编辑
摘要:代码片段,google了半天,找到的都是4.5 rc,或之前版本的代码,发现都不能用,正式版后有些方法做了修改。我重新修改一下分享给大家public static class HttpRequestMessageExtensions { public static string QueryString(this HttpRequestMessage request, string name) { string requestUri = request.RequestUri.Query; string[] querie... 阅读全文
posted @ 2013-01-07 10:38 阿新 阅读(1567) 评论(1) 推荐(1) 编辑
摘要:Eduasync part 5: making Task<T> awaitableInpart 3we looked at what the C# 5 compiler required for you to "await" something. The sample used a class which actually had an instance method called GetAwaiter, but I mentioned that it could also be an extension method.In this post, we' 阅读全文
posted @ 2013-01-05 19:30 阿新 阅读(1716) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示