Brandon-Rod / Amiibo

An app that lets users fetch Amiibo from a RESTful API and store them in SwiftData.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Amiibo

List-Rotato

AddedToFavorites-Rotato

Grid-Rotato

Favorites-Rotato

About

  • MVVM
  • Support for light and dark mode
  • Custom Alerts
  • Empty State Views
  • Error Handling
  • RESTful API
  • Networking

Tecnologies Used

  • SwiftUI
  • XCTest
  • User Defaults
  • NSCasche
  • Search Functionality
  • Result

Struggle

Since SwiftUI’s lifecycle doesn’t have viewDidLoad(), I had to figure out how to only fetch data from the api once when loading the app. Since I use the .onAppear modifier, data from the API would be fetched constanalty.

About

An app that lets users fetch Amiibo from a RESTful API and store them in SwiftData.


Languages

Language:Swift 100.0%