A beautiful SwiftUI app to explore cat breeds β browse detailed profiles, view photos, and learn fun facts about every breed.
- πΎ Breed Directory β Browse all cat breeds from The Cat API
- πΈ High-quality Photos β Beautiful breed imagery loaded async
- π Breed Details β Temperament, origin, lifespan, weight, and trait ratings
- β Favorites β Save your favorite breeds locally
- π Search β Find any breed by name instantly
- ποΈ MVVM Architecture β Clean separation of concerns
CatBreedExplorer/
βββ Model/
β βββ CatModel.swift # Breed data model
βββ View/
β βββ CatUI.swift # SwiftUI views
βββ ViewModel/
β βββ CatViewModel.swift # Business logic & state
βββ Service/
βββ CatService.swift # The Cat API networking layer
- Xcode 15+
- iOS 17+ simulator or device
- Free API key from thecatapi.com
- Clone the repo
- Open
CatBreedExplorer.xcodeprojin Xcode - Add your API key in
CatService.swift - Build & run on simulator or device
This app uses The Cat API β a free, public API for cat breed data and images.
MIT Β© Sithum Raigamage