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

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.

主站蜘蛛池模板: 皮山县| 五华县| 杭州市| 黎城县| 武陟县| 江川县| 五台县| 崇明县| 耒阳市| 安化县| 凤凰县| 凌云县| 江永县| 成武县| 炉霍县| 南江县| 辉县市| 忻州市| 迁西县| 芷江| 东安县| 德兴市| 天峨县| 河北省| 雷波县| 依兰县| 华阴市| 松溪县| 蒙自县| 沽源县| 柘城县| 庄浪县| 汪清县| 纳雍县| 界首市| 平谷区| 定远县| 广灵县| 谷城县| 扶绥县| 白河县|