GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - WinterSolid/TipLit: TipLit is a simple SwiftUI-based iOS app that helps users quickly calculate how much to tip and how to split a bill between multiple people.

BranchesTags
Open more actions menu

Latest commit

 

History

13 Commits
13 Commits

Folders and files

NameName
Last commit message
Last commit date
tiplit.xcodeproj
tiplit.xcodeproj
 
 
tiplit
tiplit
 
 
tiplitTests
tiplitTests
 
 
tiplitUITests
tiplitUITests
 
 
README.md
README.md
 
 

Repository files navigation

TipLit

TipLit is a simple SwiftUI-based iOS app that helps users quickly calculate how much to tip and how to split a bill between multiple people.

Features

  • Input a check amount using currency formatting
  • Choose the number of people to split the bill with
  • Select a tip percentage from common U.S. tipping rates (10%, 15%, 18%, 20%, 25%) or No tip
  • View the total amount each person needs to pay
  • Simple and clean UI built with SwiftUI
  • Dynamic keyboard handling with focus management

Screenshots

p1-tiplit p5-tiplit p3-tiplit

New Feature - Tip amount by percentage.

Tiplit3

Technologies

  • Swift
  • SwiftUI
  • State management using @State and @FocusState
  • Navigation using NavigationStack
  • Forms and Pickers for user input
  • Swift Testing (optional unit tests with Apple’s modern framework)

Tip Calculation Logic

The per-person total is calculated with the following formula:

  • Total per person = (checkAmount + tipAmount) / numberOfPeople
  • tipAmount = checkAmount * (tipPercentage / 100)

How to Run

  1. Clone this repository: git clone https://github.com/WinterSolid/TipLit.git

  2. Open TipLit.xcodeproj or TipLit.xcworkspace in Xcode 16+.

  3. Build and run the app in the simulator or on a real device.

Testing

If using Apple’s Swift Testing framework:

  • Run tests with Cmd + U to verify tip calculation logic.
  • Unit tests are located in the TipLitTests target.

License

This project is open source and available under the MIT License.

About

TipLit is a simple SwiftUI-based iOS app that helps users quickly calculate how much to tip and how to split a bill between multiple people.

github.com/WinterSolid/TipLit

Topics

formsnavigationlinknavigationstackpickersstate-managementswiftswifttestingswiftui

Resources

Readme
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.