Application to show temperature in cities

Weather App

This is a weather app where temperature will be showed based on user’s current location. User can also retrieve weather report by entering the city name. Weather application will be shown current as well as for the next 5 days’ weather report. User also can sort weather data based on date.

Used Tool and programming language

  • Xcode 13.2.1
  • Swift 5

Setup

  1. Clone the repository – https://github.com/jilmonp/WeatherAppSwift.git
  2. Install Cocoapods
  • Cocoapods(https://cocoapods.org/) is a dependency manager for Swift projects. In our apps we use swift lint library. It is an open-source tool to enforce Swift style and conventions. You can follow the instructions on how to install Cocoapods by heading over to their website, or you can simply try and run
  • sudo gem install cocoapods
  1. Install the pods
  • pod init
  • pod install

Frameworks Used

  • SwiftLint
  • A tool to enforce Swift style and conventions, loosely based on the now archived GitHub Swift Style Guide. SwiftLint enforces the style guide rules that are generally accepted by the Swift community. These rules are well described in popular style guides like Ray Wenderlich’s Swift Style Guide.

Using Swift lint Library

Simply add the following line to your Podfile: pod ‘SwiftLint’

GitHub

View Github