You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm having some troubles using libHN since it was upgraded to 4.x. I'm currently running 4.0.2 and a simple loadPostsWithFilter gives me back an empty HNPost array. I don't think I've changed anything on my end, so is there some piece I'm missing since the upgrade, maybe something to do with hn.json? Here's the main code, for reference: https://github.com/amitburst/HackerNews/blob/master/HackerNews/MainViewController.swift.
Thanks!
The text was updated successfully, but these errors were encountered:
Ah, figured it out pretty quickly. I had never set HNManager.sharedManager().startSession() in my AppDelegate because my app didn't support user log in. Looks like it's required to load in the new hn.json configuration file! At least I think that's the case, so it might be important to document that this line is necessary!
Hi, I'm having some troubles using libHN since it was upgraded to 4.x. I'm currently running 4.0.2 and a simple loadPostsWithFilter gives me back an empty HNPost array. I don't think I've changed anything on my end, so is there some piece I'm missing since the upgrade, maybe something to do with hn.json? Here's the main code, for reference: https://github.com/amitburst/HackerNews/blob/master/HackerNews/MainViewController.swift.
Thanks!
The text was updated successfully, but these errors were encountered: