Skip to content

A SwiftUI app that fetches and displays planets from the Star Wars API (SWAPI), built as part of a take-home assignment.

Notifications You must be signed in to change notification settings

usman-pucit/StarWarsPlanetsApp

Repository files navigation

StarWarsPlanetsApp

StarWarsPlanetsApp is a lightweight iOS application. It displays a list of planets from the Star Wars universe, with detailed information fetched from the Star Wars API (SWAPI).

🚀 Key Features

  • SwiftUI + MVVM + Clean Architecture
    A modular, testable, and maintainable project structure.

  • Swift Concurrency
    Uses async/await for efficient and responsive UI updates.

  • Namespace Organization
    Clear separation of concerns with dedicated namespaces for API, Domain, and UI models.

  • Planets List Screen
    Fetches and displays a list of planets from SWAPI.

  • Planet Detail Screen
    Presents detailed information for a selected planet using SWAPI.

  • Networking via Swift Package Manager (SPM)
    Integrates a local networking module built with URLSession.

  • Unit Testing
    Covers core logic using Swift’s native testing framework to ensure code reliability.

📱 Requirements

  • Swift 5.9 or later
  • Xcode 16.0 or later
  • iOS 17.0 or later

About

A SwiftUI app that fetches and displays planets from the Star Wars API (SWAPI), built as part of a take-home assignment.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages