2015年7月20日

(七十八)使用第三方框架INTULocationManager实现定位

摘要: 前面(第七十五、七十六篇)讲述了如何通过CoreLocation获取位置,授权、获取等相当复杂,如果借助于第三方框架,可以简单的实现授权与定位。 首先在GitHub中搜索LocationManager下载INTULocationManager,然后将其中的INTULocationManager文... 阅读全文

posted @ 2015-07-20 21:17 张大大123 阅读(279) 评论(0) 推荐(0) 编辑

(七十七)地理编码与反地理编码

摘要: 所谓地理编码,指的是通过地名获取位置信息,例如经纬度、详细地址等。 所谓反地理编码,指的是通过经纬度、海拔等信息获取地理位置信息。 在iOS上使用地理编码和反地理编码,如果是手动输入经纬度,是不需要获取用户授权的,但是一般是获取用户的经纬度,然后再通过地理编码实现精确定位,因此需要授权,本文因为... 阅读全文

posted @ 2015-07-20 20:17 张大大123 阅读(255) 评论(0) 推荐(0) 编辑

1051. Pop Sequence (25)

摘要: 题目如下: Given a stack which can keep M numbers at most. Push N numbers in the order of 1, 2, 3, ..., N and pop randomly. You are supposed to tell i... 阅读全文

posted @ 2015-07-20 13:50 张大大123 阅读(131) 评论(0) 推荐(0) 编辑

1050. String Subtraction (20)

摘要: 题目如下: Given two strings S1 and S2, S = S1 - S2 is defined to be the remaining string after taking all the characters in S2 from S1. Your task is... 阅读全文

posted @ 2015-07-20 13:47 张大大123 阅读(124) 评论(0) 推荐(0) 编辑

导航