Skip to content

NolanOfficial/Cuisine

Repository files navigation

Fetch's iOS Challenge

Welcome to Cuisine

Cuisine is an iOS app that displays food recipes from around the world

What we support ✅

  • iOS 15.0+
  • Xcode 14.0+

Built using 👷🏻

  • Pure SwiftUI
  • Xcode 15.4
  • Async/Await

Features 😎

  • Light/Dark Mode
  • Select any food category
  • Get all available details for listed recipes
  • Search for a specific recipe

For Dev Review

Architecture

MVVM with an integrated service architecture

  • seperates enpoints, services, and network requests from the view model

View States

  • Loading
  • Result
  • Empty/Error

Network

  • Custom url session configurations
  • Custom url request configurations

Caching

  • All images are cached
  • All urls are cached

Localization

  • English
  • Swedish

Testing

Unit Tests

  • CuisineLocalizationTests

    • All locales exist
    • English localization
    • Swedish localization
  • CuisineNetworkTests

    • Success
    • Server fail
    • JSON fail
  • CuisineMainTests

    • Filter
    • Correct initialization

UI Tests

  • CuisineUITests

    • Dessert card exists
    • Dessert category exists
    • Filter alphabetical button exists