Dimillian / HackerSwifter

A Swift Hacker News library
MIT License
170 stars 32 forks source link

Support for pages for filter and user #5

Closed finder39 closed 10 years ago

finder39 commented 10 years ago

Added to be able to have "load more" on table view.

Determining whether more are available to load does not seem appropriate for api and will be done in SwiftHN.

finder39 commented 10 years ago

Also, I kept it all backwards compatible so nothing would break

Dimillian commented 10 years ago

Look good. 2 things

Dimillian commented 10 years ago

Also, for the test, what I would do is, Fetch page 0, Fetch page 1, and compare the id of the first 2 posts of both array. They should not be equal. If this test pass, I'll merge :)

finder39 commented 10 years ago
Dimillian commented 10 years ago

My bad sorry, I quickly tested, yeah, Page 0 & page 1 are the same. So it's fine :) Just fix the indentation, and a better test would be nice.