Skip to content

KeyurPatel-1/News-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📰 News List App

A SwiftUI-based news listing app that fetches and displays the latest news articles in a list or grid format. The app utilizes Combine for real-time search and Async/Await for API calls.


🚀 Features

✅ Fetches latest news from an API
✅ Supports list view and grid view for displaying news
✅ Real-time search with debounce handling
✅ Supports pagination for seamless scrolling
✅ SwiftUI-based MVVM architecture


🛠 Tech Stack

  • Swift & SwiftUI
  • Combine for reactive programming
  • Async/Await for API calls
  • MVVM Architecture

📸 Video Demo

Simulator.Screen.Recording.-.iPhone.16.-.2025-04-03.at.11.15.35.mov

📌 Installation

1️⃣ Clone the repository

https://github.com/KeyurPatel-1/News-App.git

2️⃣ Open News App.xcodeproj in Xcode
3️⃣ Run the project on the iOS Simulator


⚠️ Note

❗ If you don’t see any news on the home screen, you may have hit the API usage limit.
To fix this, update the API key in the AppConstant.swift file.


🛠 Improvements & Future Enhancements

🔹 Error Handling – Proper error messages for API failures
🔹 Image Caching – Implement an image caching mechanism for smooth scrolling


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages