WeatherForecast is a weather app that lists cities near your location and you can get daily forecasts using MetaWeather api.
- Features
- Used Methods and Libraries
- Usage
- Requiremonts
- Installation
- Warning
- Screen Shots
- Communication
- Programmatically UI design
- Capturing the same image for different resolution devices with responsive screen design
- Developed with Reactive programming techniques using Rx libraries
- It has high testability and readability with MVVM and Clean architecture
- Rest Api operations are done using Alamofire library
- With the KingFisher library, the images are kept in the cache and the loading of the images is made easier
- Repeated code blocks recommended for clean coding are combined in flexible methods
- The operations to be done on the project created on Git are divided into branches and the project is completed over the branches
- Care was taken to ensure that in-app method and variable naming are in English and comprehensible
- Keeping and processing data in local memory with RealmSwift library
The city you are in and nearby cities are listed on the home page of the weather forecast application. You can search by city name with the help of the search bar on the main page. Clicking on the desired cell in the list will take you to the city detail page. Daily forecast details and 1-week forecast are listed. Clicking on any day displays the details of that day. You can also add the cities you want to favorites in the local memory with the help of realm.
Versions I use:
ruby 2.6.3p62
cocoapods-1.11.2
- paste
https://github.com/SaniyeToy/WeatherRx.git
into terminal pod install
is written to the file path of the application in the terminal and the application is run on xcode
- if you are getting a
Error domain kclerrordomain code 0 null
error - Go to : Product -> Scheme -> Edit Scheme -> Options -> Allow Location Simulation must be checked and try providing a default location, don't leave it set to "none" And restart Xcode and you're done :)
CityList View | City Details View | List View Search |