A straightforward Swift app for calculating daily and weekly item costs, designed to help users track and manage expenses over time. This app is a helpful tool for budgeting and understanding how purchases affect finances daily and weekly.
- Item Cost Calculation: Calculate daily and weekly costs based on total cost and usage period.
- Detailed Cost Breakdown: View total cost, cost per day, and cost per week, including add-ons like repairs.
- Sell Item Option: Recalculate the overall balance by adding resale details.
- Item Add-Ons: Easily include additional expenses like repairs to reflect true ownership costs.
- Expense Overview with Graphs: A dedicated sheet provides visual insights into spending trends, including the year of purchase, purchase cost, total spent, amount sold, and overall balance.
- SwiftUI-Based Interface: Modern, responsive UI built with UIKit and SwiftUI.
-
Clone the Repository:
git clone https://github.com/lordcordis/Cost-Per-Week.git
-
Open in Xcode:
cd Cost-Per-Week open CostPerWeek.xcodeproj
-
Build and Run:
- Use Xcode to run the app on a simulator or a connected iOS device.
- Enter Purchase Details: Input the initial cost, any additional expenses, and the purchase date.
- Add Optional Add-Ons: Include costs for add-ons like repairs to get an accurate expense overview.
- Set Usage Period: Specify the intended usage period in days.
- Sell and Recalculate: Enter a resale value if applicable to see how selling impacts the overall balance.
- Expense Visualization: Review a detailed sheet with graphs that show purchase year, cost, total spent, resale amount, and balance for a full picture of your finances.
- View Cost Breakdown: The app displays the item’s cost per day, per week, and total, adjusted for add-ons and any sale.
- Swift & SwiftUI: Written in Swift, with a declarative SwiftUI interface inside UIKit containers for modern UI handling.
- Xcode: IDE for iOS development.
All calculations and data inputs remain local to the device. The app does not store or transmit personal data externally.
- Fork the Repository
- Create a Branch for your feature or bug fix.
- Open a Pull Request with your changes.
This project is licensed under the MIT License - see the LICENSE file for details.
For support or inquiries, reach out at:
- Email: [email protected]