Skip to content

A simple, yet all-inclusive app for looking at affectionate cats, thanks for the courtesy of The Cat API.

Notifications You must be signed in to change notification settings

syrekable/CatAPISwiftUIAPP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CatAPISwiftUIApp

A simple, yet all-inclusive app for looking at affectionate cats, thanks for the courtesy of The Cat API.

Worked upon networking tutorial by Katrin Prater.

Features

Code-wise

  • MVVM architecture
  • separate network layer
  • custom errors with custom descriptions for both user and debug
  • iOS 15+ features
    • search bar .searchable
    • AsyncImage
  • decoding nested JSON to custom data model
    • using init(from: Decoder) constructor for more flexibility

User

  • A scrollable, searchable list of cat breeds
    • with image
    • with breed's traits
  • Details view for each breed
    • cat's picture
    • long description
    • affection level

TODO

  • Unit testing
  • dependency injection
  • mock API service
  • Better UI
    • Responsive images
  • Support from iOS < 15

About

A simple, yet all-inclusive app for looking at affectionate cats, thanks for the courtesy of The Cat API.

Topics

Resources

Stars

Watchers

Forks

Languages