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.
✅ 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
- Swift & SwiftUI
- Combine for reactive programming
- Async/Await for API calls
- MVVM Architecture
Simulator.Screen.Recording.-.iPhone.16.-.2025-04-03.at.11.15.35.mov
1️⃣ Clone the repository
https://github.com/KeyurPatel-1/News-App.git2️⃣ Open News App.xcodeproj in Xcode
3️⃣ Run the project on the iOS Simulator
❗ 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.
🔹 Error Handling – Proper error messages for API failures
🔹 Image Caching – Implement an image caching mechanism for smooth scrolling