-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Reachability to Fetcher #8
base: master
Are you sure you want to change the base?
Conversation
I really need to think about that. |
Ya, I was looking around and it seemed to still be the standard way to check if there is a valid internet connection. A lot of things still are only built in Objective-C. If you look in my Resumod project I still have to import to use MD5 variables like CC_MD5_DIGEST_LENGTH. https://github.com/finder39/resumod/blob/master/Resumod/Resumod-Bridging-Header.h |
Well there is a lot of things with Reachbility that I don't like.
I think that maybe we could enhance the cache, and say, it's invalid after 1 hour, so we display it first if it's dated less than an hour, and don't display it if it's dated more than an hour. And if we're really offline, we could display it all the time, even if it's dated from more than hour. I think it's a better compromise. What do you think? |
I do like the idea of a dated cache, that makes a lot of sense to me. A couple thoughts:
I don't think we have the solution just yet. hmmm... |
We need to think about it. |
|
Well you don't get many solutions when it come to have a local data and an remote data. You need to first display your local data and then display the remote one. True, we could gracefully merge both and rearrange cells maybe, but it would be too much work I guess. Twitter is nice because it's chronological, you could just add new items at the top and boom. In our case items can me moved and updated randomly :/ I think we should keep the actual system with an UI that explicitly say "cached data", in home pages and comments, etc... What do you think? |
I think that could work pretty well and is a good plan to mock up. As for the rearranging, I don't think it would be too bad to program. I think it could be overwhelming to a user though to see 30 items appear and then shift around all crazy like haha. Although I do think it would be a really cool experiment to see a flow chart of top items on HN over time. |
Well I'll open issues in SwiftHN for the UI and the experiment then, if you want to try why not :) |
Sounds good to me! And I may try that out, if nothing else than for fun :) Ya these kinds of discussions are always great! Makes you think about all different issues and solutions. No problem if this pull request becomes useless. It led to a good discussion and had us thinking outside the box. |
fixes #7