Show HN: SwiftHN, a Hacker News reader in Swift
dimillian.github.io
dimillian.github.io
Edit: I started an Hacker News Swift scraper, which is what SwiftHN use now, it's called Hacker Swifter: https://github.com/Dimillian/HackerSwifter It's highly inspired from LibHN (https://github.com/bennyguitar/libHN) for the scrapping part at the moment.
Feedbacks and pull requests appreciated :)
Ok, I'm seriously scraping, and I seriously dislike it, sound like HackerSwifter will now use the API! Thanks!
Edit: But there is no endpoint to have the top items, ask hn etc... right?
[1] https://www.hnsearch.com/api [2] https://news.ycombinator.com/item?id=7130590
A lot of people seem to have used the API to build cool apps.
https://hn.algolia.io/cool_apps
I would read the docs first and jump to conclusions later.
Last Ask HN: http://hn.algolia.com/api/v1/search_by_date?tags=story,ask_h...
Front page: https://news.ycombinator.com/rss
You should be able to build something :)
as-in: news.ycombinator.com/api
or something...
When I search for "news.ycombinator api" I get a bunch of irrelevant or very outdated links...
But for a new app, I would recommend Swift to anyone, it's light, and readable, I really like it.
Kids these days... We had to learn new languages with no "syntax highlighting", no "completion engine", no tutorials, no reference sites and no internet in general. If we were lucky we had some kind of printed manual -- not always.
I hope that Xcode/Swift gets better in the debugging department soon. NSLog() is a rough way to see values. It's just so 1996.
Well, XCode also has the Swift Playground, with live values updating next to your code etc. Java/IntelliJ don't have that (of course XCode's implementation is beta too, and might not work on some cases).
I was impressed :) Can't wait to see the changes in new seed next week.
Good job.