/BrowserSwiftfUI

Browser App(NewsAPI, Web & Bookmarking) w/ SwiftUI

Primary LanguageSwift

BrowserSwiftfUI

Weekend Exploration(Fri, Sat & Sun) SwiftUI Browser App

How to run

Download code -> open project -> select simulator(iphone 12 pro max tested✅) -> run

Features

  • Web browsering
  • News Articles
  • Bookmarking (vist, add & delete)
  • meta-fetcher to get url meta data when bookmarked
  • app tells you to reconnect to internet

Design Decisions

  • MVVM architecture
  • I used the algorithms library for additional array operations i.e chunked(by: ) I use to construct the 3 x 2 grid of suggestions
  • callbacks to push up actions & data
  • I wanted the webview to appear within the same view as the search bar

Tradeoffs

  • directly accessing apis in view for speed instead of injecting apis as dependencies in Viewmodel
Suggestions Web Bookmarks