官术网_书友最值得收藏!

Project overview

The idea of this app is to give users information about cities such as the current weather, pictures, history, and cities that are around.

How can we do it? Firstly, we have to decide on how the app is going to suggest a city to the user. Of course, the most logical city would be the city where the user is located, which means that we have to use the Core Location framework to retrieve the device's coordinates with the help of GPS.

Once we have retrieved the user's location, we can search for cities next to it. To do this, we are going to use a service from http://www.geonames.org/.

Another piece of information that will be necessary is the weather. Of course, there are a lot of websites that can give us information on the weather forecast, but not all of them offer an API to use it for your app. In this case, we are going to use the Open Weather Map service.

What about pictures? For pictures, we can use the famous Flickr. Easy, isn't it? Now that we have the necessary information, let's start with our app.

主站蜘蛛池模板: 集安市| 邹平县| 漳平市| 大名县| 彩票| 五家渠市| 曲靖市| 屏东市| 南涧| 温泉县| 仁布县| 扎赉特旗| 固安县| 中宁县| 施秉县| 荆门市| 齐齐哈尔市| 来宾市| 宁津县| 香港| 慈利县| 牡丹江市| 和硕县| 正蓝旗| 洪湖市| 盐山县| 东丽区| 浮山县| 东至县| 双牌县| 三原县| 花莲市| 堆龙德庆县| 辛集市| 大同县| 广饶县| 宁津县| 昆山市| 新沂市| 南皮县| 德昌县|