Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Dimillian/SwiftHN
A Hacker News reader in Swift
https://github.com/Dimillian/SwiftHN
Last synced: 9 days ago
JSON representation
A Hacker News reader in Swift
- Host: GitHub
- URL: https://github.com/Dimillian/SwiftHN
- Owner: Dimillian
- License: gpl-2.0
- Created: 2014-06-05T18:07:57.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2020-10-01T13:21:44.000Z (about 4 years ago)
- Last Synced: 2024-10-15T07:26:10.792Z (25 days ago)
- Language: Swift
- Homepage:
- Size: 10 MB
- Stars: 1,707
- Watchers: 71
- Forks: 282
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-swift-cn - SwiftHN - hacker news app in Swift. (Demo Apps / 示例程序 / iOS)
- fucking-open-source-ios-apps - HN Reader
README
SwiftHN
=======#### A Hacker News reader in Swift using the best features of both the language and iOS 8 latest API (well, that's the end goal)
![screen-1](https://raw.githubusercontent.com/Dimillian/SwiftHN/master/git_images/images.png)
SwiftHN is now available on the [App Store](https://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=919243741&mt=8)! I've renamed it to HN Reader for obvious reason.
##### ETA
=======
# Installation
Clone this repository.
```shell
$ git clone --recursive https://github.com/Dimillian/SwiftHN
```Incase you cloned the repository without the `recursive` option, you will have
to manually install the HackerSwifter submodule.
```shell
$ cd SwiftHN
$ git submodule init
$ git submodule update
```Open using Xcode.
```shell
$ open SwiftHN.xcodeproj
```# Features
* Now link with its own Hacker News Swift scrapping library, [HackerSwifter](https://github.com/Dimillian/HackerSwifter). This is still a work in progress but it support the most basic features. This is linked as a submodule, so be sure to clone it too (I'm looking at you Github for Mac)
* The podfile is now useless, you may still run pod install to setup the project.
* A basic UI which respect latest Apple guidelines
* Use Swift features such as extension, framework, etc...
* Display HN home categories (Top, Ask, Jobs..)
* Load and display comments per posts.
* Load and display posts per user
* Share, Add to reading list, read in webview
* Live view rendering in Interface Builder
* Class Extensions
* Today and share extensions
* Clean design pattern
* More...The app is in progress, but already functional, you can read the newsfeed, send article to the Safari Reading List, view the article in a webview, and load comments.
You can contribute to the app, just do a pull request. You can even contribute to the design in Sketch if you want!
# Planned features
* Login
* Settings
* Upvote post & comments
* Post comments
* Today extension which show 3 latest posts in notification center
* Safari/Share extension to post a page to Hacker News