/FlashNews

iOS demo app with VIPER architecture using https://newsapi.org/

Primary LanguageSwift

FlashNews (iOS Sample App With Viper Architecture)

This repository contains a detailed sample app that implements VIPER architecture using Swift4.x and frameworks like Alamofire, SDWebImage, SVProgressHUD, ObjectMapper, SwiftyJSON etc.



VIPER Architecture Blueprint

Project Structure

Setting up the project

  • Just fork or clone, build and run
git clone https://github.com/BaluNaik/FlashNews.git
cd FlashNews
pod install
open FlashNews.xcworkspace

Used Frameworks

Alamofire

Swift-based HTTP networking library helps for network calls.

SwiftyJSON

SwiftyJSON library makes it easy to deal with JSON data in Swift.

ObjectMapper

ObjectMapper library written in Swift that makes it easy for you to convert your model objects (classes and structs) to and from JSON.

SDWebImage

Asynchronous image downloader with cache support as a UIImageView category.

SVProgressHUD

Lightweight progress indicator for iOS apps.

Requirements

  • iOS 10.0 or later
  • Xcode 10.x or later
  • Swift 4.x
  • NOTE:For accurate result run and test on real device

License

Copyright (c) 2018 Balu Naik dbalunayak@gmail.com

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.