Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/anibalventura/hacker-news-reader

News reader app. Build with SwiftUI and MVVM pattern.
https://github.com/anibalventura/hacker-news-reader

dark-mode hacker-news ios mvvm-pattern newsapp newsfeed swift swiftui xcode

Last synced: about 1 month ago
JSON representation

News reader app. Build with SwiftUI and MVVM pattern.

Awesome Lists containing this project

README

        

# Hacker News Reader

[![iOS](https://img.shields.io/static/v1?label=iOS&message=15.2&color=000000)](https://www.apple.com/ios/ios-15/)
[![Swift](https://img.shields.io/static/v1?label=Swift&message=5.5&color=F05138)](https://developer.apple.com/swift/)
[![Xcode](https://img.shields.io/static/v1?label=Xcode&message=13.2&color=147EFB)](https://developer.apple.com/swift/)
[![License](https://img.shields.io/static/v1?label=License&message=MIT&color=blue)](LICENCE)

News reader app, the news are fetched from [Hacker News Algolia API](https://hn.algolia.com/api). Build with SwiftUI and MVVM pattern.

## Features

- List with news order by date.
- Search bar for news order by higher points.
- Pull to refresh.
- Splash screen.
- Light/Dark mode.
- Localization (English/Spanish).

## Development

- [SwiftUI](https://developer.apple.com/xcode/swiftui/)
- MVVM
- [Swift Package Manager](https://www.swift.org/package-manager/)
- Development Target **15.2**
- Swift **5.5**
- Xcode **13.2**

### Dependencies

- [SwiftLint](https://github.com/realm/SwiftLint)
- [Alamofire](https://github.com/Alamofire/Alamofire)

### Build

Clone the repository and run the app!

Note: [Hacker News Algolia API](https://hn.algolia.com/api) is free to use without an API key but limiting the number of API requests from a single IP to 10,000 per hour.

# License

```xml
MIT License

Copyright (c) 2022 Anibal Ventura
```