whatisgithub

What is bobaloyalty-ios?

signerlabs/bobaloyalty-ios — explained in plain English

Analysis updated 2026-05-18

1SwiftAudience · developerComplexity · 2/5Setup · easy

In one sentence

A demo iOS bubble tea shop app in Swift and SwiftUI showcasing 14 ready-made components from the ShipSwift recipe library.

Mindmap

mindmap
  root((repo))
    What it does
      Demos ShipSwift recipes
      Runs customer view
      Runs owner view
    Tech stack
      Swift
      SwiftUI
      SwiftData
    Use cases
      Study prebuilt components
      Template for loyalty app
      Explore dual role app
    Audience
      iOS developers
      Learners

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Study how ShipSwift's prebuilt SwiftUI components combine into a working app.

USE CASE 2

Use the app as a starting template for a loyalty or ordering app.

USE CASE 3

Explore both customer and shop-owner views of a retail app in one codebase.

What is it built with?

SwiftSwiftUISwiftData

How does it compare?

signerlabs/bobaloyalty-iosaltuzar/sonicflowcollinkite/steamcontrollerkit
Stars111
LanguageSwiftSwiftSwift
Setup difficultyeasyeasymoderate
Complexity2/52/53/5
Audiencedevelopergeneraldeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Runs entirely on-device with no backend or API keys needed.

So what is it?

BobaLoyalty is a demo iOS app for a fictional bubble tea shop, built using Swift and SwiftUI. It serves as sample source material to showcase a companion library called ShipSwift, a collection of ready-made Swift code recipes for building iOS apps quickly. The app was assembled in a single afternoon using 14 pre-built SwiftUI components pulled directly from ShipSwift's recipe library. The app runs entirely on-device with no backend, no API keys, and no third-party dependencies, just local SwiftData storage. SwiftData is Apple's built-in database framework for storing app data on the device. When you first launch, it automatically seeds itself with mock data: 30 days of order history, 8 drink products, and a sample member account, so there is something to explore immediately. It supports two roles in a single app: customer and shop owner. A role selector on startup lets you pick which side to view. The customer side includes a drink menu with photos, a product detail screen, a shopping cart, a checkout flow with a mock payment step, a points-and-rewards tracker, and a profile with birthday coupon support. The owner side includes a live order management board, a menu editing screen, and a revenue dashboard with animated charts showing daily sales, order trends, and product sales breakdowns. Switching between customer and owner roles is done from either side's settings screen. The README notes the full README is longer than what was provided. BobaLoyalty is most useful as a learning reference or starting point for anyone building a similar Swift and SwiftUI app, especially if they want to see how ShipSwift recipes are applied in a real project context.

Copy-paste prompts

Prompt 1
Walk me through how BobaLoyalty structures its customer and shop owner roles in SwiftUI.
Prompt 2
Explain how SwiftData is used to store orders and rewards locally in this app.
Prompt 3
Show me how the mock data seeding works when the app first launches.
Prompt 4
Help me adapt one of BobaLoyalty's ShipSwift-based screens for my own app idea.

Frequently asked questions

What is bobaloyalty-ios?

A demo iOS bubble tea shop app in Swift and SwiftUI showcasing 14 ready-made components from the ShipSwift recipe library.

What language is bobaloyalty-ios written in?

Mainly Swift. The stack also includes Swift, SwiftUI, SwiftData.

How hard is bobaloyalty-ios to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is bobaloyalty-ios for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.