SwiftHN
所属分类:collect
开发工具:Swift
文件大小:0KB
下载次数:0
上传日期:2020-10-01 13:21:44
上 传 者:
sh-1993
说明: Swift中的黑客新闻阅读器,
(A Hacker News reader in Swift,)
文件列表:
Hacker News WatchKit App/ (0, 2015-12-26)
Hacker News WatchKit App/Base.lproj/ (0, 2015-12-26)
Hacker News WatchKit App/Base.lproj/Interface.storyboard (8530, 2015-12-26)
Hacker News WatchKit App/Images.xcassets/ (0, 2015-12-26)
Hacker News WatchKit App/Images.xcassets/AppIcon.appiconset/ (0, 2015-12-26)
Hacker News WatchKit App/Images.xcassets/AppIcon.appiconset/Contents.json (1468, 2015-12-26)
Hacker News WatchKit App/Images.xcassets/AppIcon.appiconset/Icon-24@2x.png (1884, 2015-12-26)
Hacker News WatchKit App/Images.xcassets/AppIcon.appiconset/Icon-27.5@2x.png (2183, 2015-12-26)
Hacker News WatchKit App/Images.xcassets/AppIcon.appiconset/Icon-29@2x.png (2316, 2015-12-26)
Hacker News WatchKit App/Images.xcassets/AppIcon.appiconset/Icon-29@3x.png (3208, 2015-12-26)
Hacker News WatchKit App/Images.xcassets/AppIcon.appiconset/Icon-40@2x.png (3225, 2015-12-26)
Hacker News WatchKit App/Images.xcassets/AppIcon.appiconset/Icon-44@2x.png (3426, 2015-12-26)
Hacker News WatchKit App/Images.xcassets/AppIcon.appiconset/Icon-86@2x.png (7561, 2015-12-26)
Hacker News WatchKit App/Images.xcassets/AppIcon.appiconset/Icon-98@2x.png (8690, 2015-12-26)
Hacker News WatchKit App/Info.plist (1094, 2015-12-26)
Hacker News WatchKit Extension/ (0, 2015-12-26)
Hacker News WatchKit Extension/CommentsInterfaceController.swift (1382, 2015-12-26)
Hacker News WatchKit Extension/Images.xcassets/ (0, 2015-12-26)
Hacker News WatchKit Extension/Info.plist (1187, 2015-12-26)
Hacker News WatchKit Extension/InterfaceController.swift (1973, 2015-12-26)
Hacker News WatchKit Extension/NotificationController.swift (1871, 2015-12-26)
Hacker News WatchKit Extension/PushNotificationPayload.apns (794, 2015-12-26)
LICENSE.md (18026, 2015-12-26)
Sketch/ (0, 2015-12-26)
Sketch/SwiftHN.sketch/ (0, 2015-12-26)
Sketch/SwiftHN.sketch/Data (966334, 2015-12-26)
Sketch/SwiftHN.sketch/metadata (646, 2015-12-26)
Sketch/SwiftHN.sketch/version (2, 2015-12-26)
Sketch/Widget.sketch/ (0, 2015-12-26)
Sketch/Widget.sketch/Data (225876, 2015-12-26)
Sketch/Widget.sketch/metadata (569, 2015-12-26)
Sketch/Widget.sketch/version (2, 2015-12-26)
SwiftHN.xcodeproj/ (0, 2015-12-26)
SwiftHN.xcodeproj/project.pbxproj (71449, 2015-12-26)
SwiftHN.xcodeproj/project.xcworkspace/ (0, 2015-12-26)
SwiftHN.xcodeproj/project.xcworkspace/contents.xcworkspacedata (152, 2015-12-26)
... ...
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
近期下载者:
相关文件:
收藏者: