- Application
- Specific app related: Services (Session & Weather), App & Scene Delegate, Info.plist and main
- Controllers
- Here there is a subfolder for each view-controller: Home, Current, Map, Favorites, AddFavorites, Details
- Library
- Here there is what is outside the MVC pattern, a subfolder of UI Custom Elements: UIDetailsWeatherTableCell and UIWeatherTableCell
- Models
- The models necessary for the abstraction of the application are present here: MDCoordinate, MDWeather, MDForecast, MDWeatherCoordinate & MDWeaCoord+MapAnnotation
- Views
- Here there is the storyboard
- Current
- The weather for the current location is displayed
- Click ℹ️ for more information about the forecast
- Click 🔄 to update weather and/or location
- Favorites
- The list of locations saved as favourites is displayed here
- Click on the location for more information about the forecast
- Click on the ❌ to remove the location from the list
- Click the ➕ to add a new favourite location
- Map
- Forecasts for the current location and the preferred location are displayed here
- Automatic focus on current position🔎
- Click on the pin 📍 to see the current weather and on the ℹ️ for more information about the forecast
When application start, the necessary permissions will be requested.Having access to the location will make it possible to view the weather for the current location.
Information is stored via appropriately formatted and managed NSUserDefaults (See AddFavoritesViewController & FavoritesViewController).