摘要: 一 介绍 /** * NSURLSession是在2013年的WWDC上,由Apple提出的NSURLConnection继任者的:NSURLSession. */ /** * NSURLSession为ios7中的新网络接口,与NSURLConnection是并列的,且可以支持后台相关的网络操作的 阅读全文
posted @ 2016-06-13 21:04 Yevgeni 阅读(96) 评论(0) 推荐(0) 编辑
摘要: NSMutableParagraphStyle *paragraphStyle =[ [NSMutableParagraphStyle alloc] init]; paragraphStyle.lineSpacing = 50; NSDictionary *attributes = @{ NSFon 阅读全文
posted @ 2016-06-13 20:50 Yevgeni 阅读(1043) 评论(0) 推荐(0) 编辑
摘要: (原本取至D了个L微信公众号) UITableView 详解 一、建立 UITableView DataTable = [[UITableView alloc] initWithFrame:CGRectMake(0, 0, 320, 420)];[DataTable setDelegate:self 阅读全文
posted @ 2016-06-13 20:41 Yevgeni 阅读(438) 评论(0) 推荐(0) 编辑
摘要: - (void)viewDidLoad { [super viewDidLoad]; self.geocoder = [[CLGeocoder alloc]init]; // 设置地图可缩放 self.mapView.zoomEnabled = YES; // 设置地图可滚动 self.mapVie 阅读全文
posted @ 2016-06-13 00:36 Yevgeni 阅读(505) 评论(0) 推荐(0) 编辑
摘要: - (void)viewDidLoad { [super viewDidLoad]; // 创建地址解析器 self.geocoder = [[CLGeocoder alloc] init]; } - (IBAction)encodeTapped:(id)sender { // 获取用户输入的地址字 阅读全文
posted @ 2016-06-13 00:35 Yevgeni 阅读(1006) 评论(0) 推荐(0) 编辑
摘要: - (void)clickLongPress:(UILongPressGestureRecognizer *)longPress { CGPoint point = [longPress locationInView:mapView]; CLLocationCoordinate2D coord = 阅读全文
posted @ 2016-06-13 00:32 Yevgeni 阅读(1044) 评论(0) 推荐(0) 编辑