SwiftintermediatemobileAI generated

Group Expense Splitter with Charts

Build an app where groups log shared expenses, and the app computes who owes whom with a simplified debt-settlement algorithm, visualized with charts. Learners practice algorithmic debt simplification, Swift Charts for spending breakdowns, and CoreData for multi-entity persistence.

Estimate
~12h
Steps
6
Completed by
0
Proposed by
codeseed.app

SwiftUI · CoreData · Swift Charts

Project roadmap

  1. 01

    Model groups, members, and expenses

    ~2h

    Design CoreData entities for groups, members, and shared expenses with payer and split information.

  2. 02

    Build the expense entry UI

    ~2h

    Build a form for logging an expense and selecting how it's split among members.

  3. 03

    Implement debt simplification

    ~3h

    Implement an algorithm that minimizes the number of settling transactions needed within a group.

  4. 04

    Build the settlement summary view

    ~1.5h

    Display who owes whom and how much in a clear summary view.

  5. 05

    Add a spending-by-category chart

    ~1.5h

    Visualize spending breakdown by category using Swift Charts.

  6. 06

    Write tests for the settlement algorithm

    ~2h

    Test the debt-simplification logic against multi-member scenarios.

Resources

Ready to build this?

Get a GitHub repo and start building. Your AI reviewer checks each step as you go.

~12h · 6 steps

Tech stack

SwiftUICoreDataSwift Charts