The following hackernews app is built using SwiftUI. It fetches the top posts on hackernews using the official API and displays it to the user (once the viewloads). Upon clicking any of the news, it directs the user to a webview which is linked to the URL of the news.
sumansid / hackernews-ios Goto Github PK
View Code? Open in Web Editor NEWDeveloped with Swift UI, this app uses the HackerNews api and fetches the top stories (with their upvotes). Clicking on the story title takes the user to the story URL in a webview.