3 ms·
libHN - https://github.com/bennyguitar/libHN https://github.com/bennyguitar/libHN News/YC iOS App - https://github.com/bennyguitar/News-YC---iPhone https://git
by bennyg 13y ago
libHN - https://github.com/bennyguitar/libHN https://github.com/bennyguitar/libHN
News/YC iOS App - https://github.com/bennyguitar/News-YC---iPhone https://github.com/bennyguitar/News-YC---iPhone
The app uses the libHN library for handling all requests/responses to HackerNews and is mostly just a visual representation of the data. Right now it allows logging in, viewing your own submissions, submitting posts, and submitting comments.
---------------
Known Bugs
---------------
Sometimes adding a comment crashes the app. I'm not handling an exception somewhere, I just honestly haven't had time to find it.
The landscape view for submitting posts/comments is terrible from a user experience stand point. I know there's some interesting stuff that can be done with NSAutoLayoutConstraints but I haven't had too much time to mess with this either. I think better keyboard frame management can be accomplished too.
---------------
Additional Features
---------------
I would like the ability to see comments for a user (similar to clicking "threads" at the top). The data request/response part of this needs to happen in libHN, and the user interface can be similar to the CommentsViewController in the app.
I also would like to just go ahead and namespace the app's classes too, either HN or NYC. I like NYC (love it, heh) because HN is used for libHN and I'd kind of like that library to be a separate entity from the actual app.