Live data from Hacker News

Show HN: Hacker News iOS client using the new official API

hnclient.weebly.com

21–30 of 47 posts

Re: Show HN: Hacker News iOS client using the new official API

#21
Actually, I have had an iOS app using the client out for about 3 weeks. It was meant to be a tutorial on how to use Couchbase Lite to consume APIs. However, it's going through a complete rewrite to make it full featured. I use it to consume Hacker News. I have a version that allows me to sort and hide stories I've already read that is waiting for approval.

Github: https://github.com/wrkstrm/HelveticaNeue

App Store: https://itunes.apple.com/us/app/helvetica-neue-native-open/i...

Re: Show HN: Hacker News iOS client using the new official API

#23
post #19
post #17

A few thoughts: When on the comments page, I'd expect tapping the title to take me to the article, but it doesn't. The child comment touch target is all the way to the far right, which is at the edge of the touch region on the new larger phones. Feels a bit awkward. Maybe make the entire comment the touch target for that? Not a fan of the big black back arrow. I know it goes away, but as you scroll, it is right where…

Thanks for your feedback. I thought tapping the title and going to the article in the comments page could be counter-productive if one slightly missed the back arrow. I need to give it a thought again. It's a good idea to make the entire comment tappable instead of just the small button. I haven't tested the app on a physical iPhone 6 yet. I'm not sure about the arrow. It still takes up less space than the navigation…

Yeah, they were just random thoughts, I'm not sure they are all good ideas. The stuttering only seems to happen on long comment pages, when I give it a push and let it scroll. It seems to just hiccup every 100 ms or so.

Re: Show HN: Hacker News iOS client using the new official API

#26

Maybe it's better on an iPhone 6, but there's a lot more scrolling than most other iOS news apps. It's pretty and all, but I'll take a bit of ugly to be able to see more than three headlines at once.

That's a good point. I might include setting headlines' font size in the next update. Thanks!

Re: Show HN: Hacker News iOS client using the new official API

#27
post #20

Made my own (iphone/ipad) implementation(swift/open source) of firebase too: http://portablerobot.wordpress.com/2014/11/16/hackyto-availa... I did wanted to support the live update, but I rather let the user decide when to spend their data. Nice work!

Thanks for this. Learning Swift right now, and I'm going to dissect your code :)

Re: Show HN: Hacker News iOS client using the new official API

#28
If anyone else is looking for a better iOS client (native or not), I'm using HackerWeb (http://cheeaun.github.io/hackerweb). It's pretty nice, and ironically feels more native than the native apps I've tried. Here's a bookmarklet to open the current HN page in HackerWeb:

    javascript:var%20a=/%5B0-9%5D+/.exec(location.href);var%20n=a%5Ba.length-1%5D;location.href='http://cheeaun.github.io/hackerweb/%23/item/'+n

Re: Show HN: Hacker News iOS client using the new official API

#29
post #2

Any Android client using the new API?

https://play.google.com/store/apps/details?id=io.dwak.holoha...

Shameless plug :D

This is using cheeaun's wrapper, which was just recently switched to the new api.

Additionally, I'm writing my own wrapper as well, and will be migrating to it eventually.

I didn't want to use closed source code in the application which is why I didn't include the Firebase SDK, and which is why I need to use a wrapper around the api.

Post reply on HN