Skip to content

scros18/wc-round

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Window Cleaning Business Manager

A complete iOS app and HTML demo for managing your window cleaning business rounds.

📱 iOS App

Features

  • ✅ Add, edit, and delete properties (houses/bungalows)
  • ✅ Track prices and cleaning frequencies (weekly, bi-weekly, monthly, 2-monthly)
  • ✅ Customer information management
  • ✅ Automatic monthly revenue calculations
  • ✅ Filter properties by type and frequency
  • ✅ Search across address, customer, and notes
  • ✅ Sorting menu (Newest, Name, Price) with ascending toggle
  • ✅ Beautiful gradient UI matching iOS design guidelines
  • ✅ Data persistence using UserDefaults
  • ✅ Statistics dashboard
  • ✅ Context menu actions on list (Edit/Delete)
  • ✅ Input validation and keyboard toolbar for forms
  • ✅ Subtle haptics on key actions
  • ✅ Weather screen with 5-day forecast (demo)
  • ✅ Earnings screen with daily/weekly/monthly overview (demo)
  • ✅ Inset scrollbar in demo for accurate iPhone-frame look

iOS Extras

  • Weather screen with simple 5-day outlook (no API; demo-friendly)
  • Earnings overview screen with weekly/monthly estimates and round breakdown
  • Access both from the Sort/More menu (top-right) in the main list

Project Structure

ios-app/
├── WindowCleaningApp.swift       # Main app entry point
├── Property.swift                # Data models
├── DataManager.swift            # Business logic & data management
├── ContentView.swift            # Main list view
├── AddPropertyView.swift        # Add new property form
├── EditPropertyView.swift       # Edit property form
└── PropertyDetailView.swift     # Property details view

How to Build the iOS App

  1. Open Xcode (requires macOS and Xcode 14+)
  2. Create a new iOS App project
  3. Choose SwiftUI as the interface
  4. Copy all .swift files from the ios-app folder into your Xcode project
  5. Build and run on iOS Simulator or your iPhone

Requirements

  • iOS 15.0+
  • Xcode 14.0+
  • Swift 5.7+

🌐 HTML Demo Page

Features

  • ✅ Fully functional web-based demo
  • ✅ Add properties with all details
  • ✅ Edit existing properties
  • ✅ Delete properties
  • ✅ Filter by type and frequency
  • ✅ Live statistics dashboard
  • ✅ Local storage (data persists on refresh)
  • ✅ Responsive design (works on mobile and desktop)
  • ✅ Beautiful gradient UI matching the iOS app

How to Use the Demo

Simply open demo.html in any web browser. No installation required!

The demo is completely self-contained and stores data in your browser's local storage.


💡 Usage Guide

Adding a Property

  1. Fill in the address
  2. Select property type (House or Bungalow)
  3. Enter the cleaning price
  4. Choose cleaning frequency
  5. Add customer name (optional)
  6. Click "Add Property"

Managing Properties

  • View Details: Click on any property card (iOS) or use the edit button (HTML)
  • Edit: Update any property information
  • Delete: Remove properties you no longer service
  • Filter: Use the filter buttons to view specific property types or frequencies

Understanding Revenue

The app automatically calculates monthly revenue based on:

  • Weekly: Price × 4
  • Bi-Weekly: Price × 2
  • Monthly: Price × 1
  • Every 2 Months: Price × 0.5

🎨 Design

Both the iOS app and HTML demo feature:

  • Modern gradient purple/blue theme
  • Clean, intuitive interface
  • Consistent design language
  • Easy-to-read statistics
  • Smooth animations and transitions

📊 Statistics Tracked

  • Total Properties: Count of all properties on your round
  • Monthly Revenue: Estimated monthly income
  • Average Price: Average price per property

🔄 Data Storage

  • iOS App: Uses UserDefaults for persistent storage
  • HTML Demo: Uses localStorage (browser-based)

Both solutions keep your data safe and accessible!


🚀 Future Enhancements (Ideas)

  • Payment tracking and history
  • Calendar integration for scheduling
  • Route optimization
  • Cloud sync between devices
  • Export data to CSV
  • Backup and restore functionality
  • Customer contact information
  • Photo attachments for properties
  • Weather integration

📝 Notes

  • The HTML demo is perfect for testing and previewing features
  • The iOS app provides a native mobile experience
  • Both versions work independently with their own data storage
  • Start with the HTML demo to test, then deploy the iOS app for field use

Enjoy managing your window cleaning business! 🪟✨

About

Window cleaning management system for IOS.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published