Breaking News

A News Project to show usage of rendering app UI in dynamic way.

Description

Consumption of REST API using Swift/SwiftUI.

  1. Showcasing the latest News.
  2. Marking News as Favourite.
  3. Seeing those Favourite News in a List.
  4. And Removing those favourite news.
  5. Tapping on List to View News Detail to read more about it.

Architecture

Breaking news project is implemented in Model-View-View Model(MVVM) archuiteture.

Structure

All the Views are inside View Group All the Model used are inside Model Group ViewModel is inside ViewModel Group UserDefault Portion is inside Repo Group

API

Using Rest API to pull News https://newsapi.org/v2/top-headlines?country=in&apiKey="Your_API_Key"