The daily news reader for your Apple devices.
Clone or switch to the main branch of the repository:
git checkout mainSwiftGen is required for code generation. Install it using Homebrew:
brew install swiftgen-
Get your API key from NewsAPI.org
-
Create and configure the API keys file:
Create
DailyNews/DailyNews/Data/Network/Base/APIKeys.swiftwith the following content:import Foundation struct APIKeys { static let newsAPIKey = "your_actual_api_key_here" // ← Replace this static let newsAPIBaseURL = "https://newsapi.org/v2" }
Note:
APIKeys.swiftis excluded from git commits for security.
That's it! All other configurations (base URL, timeout, etc.) are already set in the xcconfig files.
- Xcode (latest version recommended)
- Homebrew package manager
- Active internet connection for API access
- NewsAPI.org account for API key
After completing the setup, you should be able to build and run the DailyNews app on your Apple devices or simulator.