Diurna

所属分类:collect
开发工具:Swift
文件大小:0KB
下载次数:0
上传日期:2020-07-31 15:41:00
上 传 者sh-1993
说明:  基本经典黑客新闻应用程序,用作Cocoa和Swift学习平台,
(Basic Classic Hacker News app, used as a Cocoa & Swift learning platform,)

文件列表:
.swift-format (1869, 2020-07-31)
App/ (0, 2020-07-31)
App/App.xcodeproj/ (0, 2020-07-31)
App/App.xcodeproj/project.pbxproj (42713, 2020-07-31)
App/App.xcodeproj/project.xcworkspace/ (0, 2020-07-31)
App/App.xcodeproj/project.xcworkspace/contents.xcworkspacedata (180, 2020-07-31)
App/Assets.xcassets/ (0, 2020-07-31)
App/Assets.xcassets/AppIcon.appiconset/ (0, 2020-07-31)
App/Assets.xcassets/AppIcon.appiconset/Contents.json (903, 2020-07-31)
App/Assets.xcassets/Contents.json (62, 2020-07-31)
App/Assets.xcassets/Icons/ (0, 2020-07-31)
App/Assets.xcassets/Icons/AskIconTemplate.imageset/ (0, 2020-07-31)
App/Assets.xcassets/Icons/AskIconTemplate.imageset/Contents.json (417, 2020-07-31)
App/Assets.xcassets/Icons/AskIconTemplate.imageset/icons8-ask-question-30.png (857, 2020-07-31)
App/Assets.xcassets/Icons/AskIconTemplate.imageset/icons8-ask-question-60.png (1642, 2020-07-31)
App/Assets.xcassets/Icons/AskIconTemplate.imageset/icons8-ask-question-90.png (2601, 2020-07-31)
App/Assets.xcassets/Icons/BestIconTemplate.imageset/ (0, 2020-07-31)
App/Assets.xcassets/Icons/BestIconTemplate.imageset/Contents.json (414, 2020-07-31)
App/Assets.xcassets/Icons/BestIconTemplate.imageset/icons8-best-seller-30.png (1113, 2020-07-31)
App/Assets.xcassets/Icons/BestIconTemplate.imageset/icons8-best-seller-60.png (2341, 2020-07-31)
App/Assets.xcassets/Icons/BestIconTemplate.imageset/icons8-best-seller-90.png (3619, 2020-07-31)
App/Assets.xcassets/Icons/CollapseIconTemplate.imageset/ (0, 2020-07-31)
App/Assets.xcassets/Icons/CollapseIconTemplate.imageset/Collapse Arrow-1.png (619, 2020-07-31)
App/Assets.xcassets/Icons/CollapseIconTemplate.imageset/Collapse Arrow-2.png (619, 2020-07-31)
App/Assets.xcassets/Icons/CollapseIconTemplate.imageset/Collapse Arrow.png (619, 2020-07-31)
App/Assets.xcassets/Icons/CollapseIconTemplate.imageset/Contents.json (397, 2020-07-31)
App/Assets.xcassets/Icons/CommentsIconTemplate.imageset/ (0, 2020-07-31)
App/Assets.xcassets/Icons/CommentsIconTemplate.imageset/Contents.json (397, 2020-07-31)
App/Assets.xcassets/Icons/CommentsIconTemplate.imageset/icons8-topic-100.png (3938, 2020-07-31)
App/Assets.xcassets/Icons/CommentsIconTemplate.imageset/icons8-topic-50.png (1890, 2020-07-31)
App/Assets.xcassets/Icons/CommentsIconTemplate.imageset/icons8-topic-51.png (1890, 2020-07-31)
App/Assets.xcassets/Icons/Contents.json (62, 2020-07-31)
App/Assets.xcassets/Icons/ExpandIconTemplate.imageset/ (0, 2020-07-31)
App/Assets.xcassets/Icons/ExpandIconTemplate.imageset/Contents.json (391, 2020-07-31)
App/Assets.xcassets/Icons/ExpandIconTemplate.imageset/Expand Arrow-1.png (641, 2020-07-31)
App/Assets.xcassets/Icons/ExpandIconTemplate.imageset/Expand Arrow-2.png (641, 2020-07-31)
App/Assets.xcassets/Icons/ExpandIconTemplate.imageset/Expand Arrow.png (641, 2020-07-31)
App/Assets.xcassets/Icons/JobIconTemplate.imageset/ (0, 2020-07-31)
App/Assets.xcassets/Icons/JobIconTemplate.imageset/Contents.json (412, 2020-07-31)
... ...

# Diurna Basic/Classic Hacker News app, used as a Cocoa & Swift learning platform ## Warning The code leaves a lot to be desired (I am only working on this from time to time and am still learning), as does the git history. ## Building This project consists in a workspace and two projects, `App` and `HackerNewsAPI`. As their names suggest, the first is a good old AppKit macOS application, and the second is a framework where all interactions with the [official HN API](https://github.com/HackerNews/API) are handled. There are two prerequisites for running the app: - You need to [set up](https://firebase.google.com/docs/ios/setup?authuser=0#create-firebase-project) your own Firebase project and provide the corresponding `GoogleService-Info.plist` file by placing it in the `App/Resources` directory. The `DATABASE_URL` key should however always be set to the official HN API URL, i.e. `https://hacker-news.firebaseio.com`. - Dependencies are managed through [Cocoapods](https://cocoapods.org); You must execute `pod install` in the project directory in order to retrieve them, once you have cloned it. ## TODO - [ ] user preferences - [ ] fix comment folding - [] fix code blocks layout - [ ] comment row height cache - [ ] proper networking - [ ] user login & voting - [ ] polls - [ ] proper toolbar - [ ] propert search, using [https://hn.algolia.com](algolia) - [ ] more icons? ... And many more. ## Screenshots ![Light](diurna.png) ![Dark](diurna_dark.png)

近期下载者

相关文件


收藏者