/app-clima

Primary LanguageSwift

About repository

This repository contains a weather app. This app is able to return the temperature and climate of the researched city or its current location.

API

The API consumed as OpenWeather. In the preoject, i'm using the JSON data to return the informations.

The code

The code was implemented using MVC, Protocol Oriented Programming ande delegation pattern.

Requeriments

  • iOS 13.0+
  • Xcode 11+

Run

Clone this project and run with the xCode.

Try this if you get Error Domain=kCLErrorDomain Code=0 "(null)":

Simulator > Features > Location > Custom Location ... > give some Latitude and Longitude! and then re build & re run the app