Project: 4DAT

Ten iOS apps built on shared native components

We developed ten native iOS apps for FrankCastle, the publisher of the 4DAT family: maintenance logs for a boat and a house, stock lists, a Bluetooth scanner and personal diaries. Three shared packages sit under them: 4DATUI for the interface, 4DATPhotoViewer for photos and VisionPipeline for image recognition.

What a user does in the apps

Developed from March to May 2026

  • 3 monthsof development
  • 10native iOS apps for one publisher
  • 3shared packages: interface, photos, image recognition

Why one family of apps

FrankCastle’s apps each address a focused task, such as maintaining a vessel, recording observations or tracking materials. Their records differ, but many interface and photo-handling needs recur.

We put the repeating parts into shared packages. Each app keeps its own records and the phone features its task needs: the camera, Bluetooth or location.

In every app the user records something against one item, such as a vessel, a property or a cat, and later reads its history or a summary.

Our work

Native iOS development in Swift and SwiftUI: the seven apps shown on this page, three further apps and the shared packages 4DATUI, 4DATPhotoViewer and VisionPipeline.

Project details
Client
FrankCastle (4DAT), the publisher of the 4DAT family of iPhone apps.
Users
iPhone owners who keep their own records: a boat, a house, blood-pressure readings, cats, PVC projects, batteries and Bluetooth scans.
Apps
Boat 4DAT, HW 4DAT, RF 4DAT, BP 4DAT, PVC 4DAT, Cat 4DAT Health and BATT 4DAT, plus PHOTO 4DAT, Spartan Code Red and VitalDisplayOCR.
Phone features
Local storage with SwiftData, Swift Charts, PDF export, the camera and photo library, Bluetooth LE, location and maps, Vision and Core ML, StoreKit, CloudKit and Sign in with Apple where an app needs them.

What a user does in the apps

Seven of the ten apps are shown below: Boat 4DAT, HW 4DAT, RF 4DAT, BP 4DAT, PVC 4DAT, Cat 4DAT Health and BATT 4DAT.

One design package, ten apps

4DATUI supplies the lists, cards, forms and navigation of every app. A new app starts from those components.

Shared packages

A record keeps its context

A maintenance task stores its plan and equipment. A blood-pressure reading stores its device and method. A Bluetooth scan stores its place and time.

BP 4DAT: blood-pressure diary

Summaries without a spreadsheet

Fleet costs by category and status, weekly observation counts per cat, seven-day and thirty-day pressure summaries, battery demand against stock. Each app computes them from its own records.

Boat 4DAT: vessel maintenance

Phone hardware where the job needs it

Bluetooth and location in RF 4DAT, the camera in PVC 4DAT and Cat 4DAT Health, PDF export in BP 4DAT and BATT 4DAT, in-app purchases through StoreKit and advertising through Google Mobile Ads in the apps that use them.

RF 4DAT: Bluetooth scanning

Records are stored on the phone

Each app stores its records on the phone with SwiftData or SQLiteData. BATT 4DAT syncs through CloudKit with Sign in with Apple.

Which parts the ten apps share

With ten apps on shared packages, a change to a package must not force a release of every app.

4DATUI, the interface package, is in every app. Photo viewing and image processing are separate packages, taken only by the apps that need them. Each app adopts a package update in its own release.

Explore the shared packages

Show us the first app and the ones you plan after it. We will mark which screens belong in a shared package and which stay in each app.

Boat 4DAT: vessel maintenance

An owner needs to know what is due on the boat, which engine or battery bank it concerns and what the season’s maintenance has cost.

Each vessel lists its systems and equipment. Recurring plans create tasks when service is due; a task carries status, priority, work type, target and due date. Fleet reports split costs into parts, labour and external services.

More screens: Boat 4DAT: vessel maintenance
Boat 4DAT: Recurring maintenance plans.
Recurring plans set service intervals for equipment. When work is due, the plan creates a maintenance task.
Boat 4DAT: Cost categories.
Parts, labour and external services as separate cost categories, also broken down by task status.

HW 4DAT: home maintenance

Several properties, each with repairs, bills, utility accounts and improvement projects, and no single place that shows what is overdue.

The portfolio screen counts open, overdue and high-priority tasks across all properties. Each property opens into its bills with due dates, projects with estimated and actual costs and photos, repair tasks and monthly and yearly plans.

More screens: HW 4DAT: home maintenance
HW 4DAT: Project photos and tasks.
Project photos next to estimated and actual costs, task counts and milestones.
HW 4DAT: Bill details and recurrence.
A bill has an amount, currency, due date, property and account reference. Repeating bills generate scheduled payments.

RF 4DAT: Bluetooth scanning

A technician wants to see which Bluetooth LE devices are around, how strong each signal is and compare the same place on another day.

A live radar with filters by device type, signal range and connectability. Each saved scan keeps its time, location and device list sorted by signal. Trends and a map show scanning by period and place.

More screens: RF 4DAT: Bluetooth scanning
RF 4DAT: Saved scan context.
A saved scan with its time, location and detected devices. Recorded coordinates can be given a place name.
RF 4DAT: Scanning activity by period.
Scans per day or the average number of detected devices, for a chosen period.

BP 4DAT: blood-pressure diary

A blood-pressure diary needs the context of each reading: when it was taken, which device was used and any notes the person wants to retain.

Users record readings with their measurement details and notes, then review changes over seven or thirty days. The PDF export carries the recorded history into a document they can save or share.

More screens: BP 4DAT: blood-pressure diary
BP 4DAT: Measurement details and context.
A saved reading with the device, measurement site, method and notes.
BP 4DAT: Chart and PDF report export.
Individual readings on the chart. PDF export to save, share or print from the phone.

PVC 4DAT: PVC projects and materials

Before building a rack from PVC, the builder needs to know which fittings and pipe lengths the plan requires and which are already in stock.

Plan templates carry a bill of materials, consumables and cuts. The inventory keeps pipes and fittings with entered and camera-captured quantities. A project compares required with available quantities and produces the shopping list.

More screens: PVC 4DAT: PVC projects and materials
PVC 4DAT: Project status and photos.
A project keeps its source plan, moves from planned to in progress to completed and stores photos at each stage.
PVC 4DAT: Shopping list from inventory gaps.
Required versus available quantities. Fittings in pieces, pipes by length, consumables in a separate list.

Cat 4DAT Health: observation diary

An owner of several cats notices a change in the litter tray and wants to tell the vet when it started and how often it happened.

Observations with a photo, tags and a note form a timeline per cat. Weekly counts and recent records summarise each animal, groups separate indoor and outdoor cats, and the vet and an emergency contact are stored in the app.

More screens: Cat 4DAT Health: observation diary
Cat 4DAT Health: Weekly summaries and recent observations.
Weekly counts of observations for one cat, with recent entries, tags and notes.
Cat 4DAT Health: Cat groups.
Groups of cat profiles, for example indoor and outdoor cats, with the number of cats in each.

BATT 4DAT: battery stock and Circuit Lab

Which batteries are in stock, which devices need them and what has expired.

Stock entries and registered devices give demand against usable stock, the shortfall and a purchase estimate, with expiry status per group and PDF export. Circuit Lab calculates voltage, capacity and runtime for a series and parallel bank.

More screens: BATT 4DAT: battery stock and Circuit Lab
BATT 4DAT: Stock and expiry statistics.
Usable, stable, nearly expired and expired stock.
BATT 4DAT: Circuit Lab calculation results.
Circuit Lab calculates voltage, capacity, usable energy and estimated runtime for the selected series and parallel arrangement. A scenario score and recharge estimate make the effect of the inputs visible.

Shared packages

What each package does and which apps use it.

4DATUI

The SwiftUI design package every app uses for its lists, cards and navigation.

4DATPhotoViewer

Photo viewing in HW 4DAT, BATT 4DAT and PHOTO 4DAT.

VisionPipeline

Image preprocessing and recognition with Vision, Core Image and models trained in Python.

Other apps in the family

PHOTO 4DAT

Imports photos and sorts them by category and tag. Recognises text in images and exposes files through a File Provider extension.

Spartan Code Red

A companion app for a book, with chapter content and a place for personal notes. Uses speech tools, CryptoKit and Keychain.

VitalDisplayOCR

Reads values from a medical monitor display. The model is trained in Python and tested in an iOS app with Core ML.

What we built

Boat 4DAT: vessel maintenance

Each vessel lists its onboard systems and equipment. A task has a title, status, priority, work type, target equipment, source plan and due date. Recurring plans set service intervals, such as a battery bank load test every six months, and create tasks when work is due. Fleet reports split costs into parts, labour and external services by task status and list the most expensive tasks.

HW 4DAT: home maintenance

A property portfolio with open, overdue and high-priority repair tasks across all properties. Each property keeps its address, building-system codes, utility accounts, bills with amount, currency and due date, improvement projects with estimated and actual costs and photos, and monthly and yearly maintenance plans.

RF 4DAT: Bluetooth scanning

A live radar of Bluetooth LE devices with filters by device type, signal range and connectability. Each saved scan records the time, the location (entered by hand or matched to a named place) and the detected devices sorted by signal strength in dBm. Trends show scans per day and average device counts; a map shows where scans were recorded.

BP 4DAT: blood-pressure diary

Systolic, diastolic and pulse with date and time, a reference photo and a review step before saving. Each reading keeps the device, measurement site and method, and a note. Seven-day and thirty-day summaries, a trend chart and a PDF report to save, share or print.

PVC 4DAT: projects and materials

An inventory of pipes and fittings with entered and camera-captured quantities. Plan templates for racks, tool stands and watering constructions carry a bill of materials, consumables and cutting requirements. A project moves from planned to in progress to completed with photos at each stage, and a shopping list compares required with available quantities.

Cat 4DAT Health: observation diary

Litter observations with a photo, tags and a note for each cat. A timeline, weekly counts per cat with recent records, groups such as indoor and outdoor cats, and the primary veterinary clinic with an emergency contact.

BATT 4DAT: battery stock and Circuit Lab

Stock entries and registered devices give demand against usable stock, the shortfall and an estimated purchase cost, with expiry status per group and PDF export. Circuit Lab calculates voltage, capacity, usable energy and runtime for a series and parallel battery bank. A Hub prototype holds local group messages.

Shared packages

4DATUI is the SwiftUI design package every app uses for its lists, cards and navigation. 4DATPhotoViewer handles photo viewing in HW 4DAT, BATT 4DAT and PHOTO 4DAT. VisionPipeline preprocesses images and runs recognition with Vision, Core Image and models trained in Python.

Technology across the 4DAT family

Swift and SwiftUI in every app, plus the frameworks each task needs.

Explore the technology and implementation

Native interface and shared packages

  • Swift
  • Swift 6
  • SwiftUI
  • Observation (Swift)
  • Swift Testing
  • Swift Package
  • 4DATUI
  • 4DATPhotoViewer

SwiftUI implements the interfaces, with shared UI and photo packages. HW and PVC use Swift 6; Cat 4DAT Health has a separate package for processing observation patterns.

Local records and cloud data

  • SwiftData
  • SQLiteData (Point-Free)
  • CloudKit

SwiftData stores local records in most of the applications. BATT uses SQLiteData from Point-Free with CloudKit for its data layer.

Signals, maps and charts

  • CoreBluetooth
  • CoreLocation
  • MapKit
  • Combine
  • Swift Charts

RF uses CoreBluetooth for discovery and CoreLocation with MapKit for scan locations. Swift Charts builds the reporting views in Boat, RF, BP and Cat 4DAT Health.

Photos and recognition

  • PhotosUI
  • Vision
  • AVFoundation
  • File Provider extension
  • Speech
  • CryptoKit
  • Keychain

PhotosUI supports photo workflows. PVC uses Vision and AVFoundation; PHOTO includes OCR and a File Provider extension. Spartan Code Red integrates Speech, CryptoKit and Keychain.

Accounts, purchases and notifications

  • Sign in with Apple
  • Google Sign-In
  • StoreKit
  • StoreKit 2
  • UserNotifications
  • Google Mobile Ads
  • AdMob
  • UMP

BATT and PHOTO integrate Sign in with Apple, with Google Sign-In also in PHOTO. StoreKit supports purchase flows in BATT and BP. BP uses local notifications; Cat 4DAT Health, BATT and PHOTO include mobile advertising integrations.

Model training and image processing

  • Python
  • PyTorch
  • OpenCV
  • NumPy
  • Core ML
  • Core Image
  • Core Graphics
  • ImageIO

VitalDisplayOCR combines Python model training with an iOS Core ML tester. VisionPipeline handles image preprocessing through Core Image, Core Graphics and ImageIO.

Where the same approach applies

The apps were built for one publisher, but their shapes recur in other products:

Product teams that publish several related apps and want one design system and shared components across them.

Companies with a maintenance process for vessels, properties or equipment that want a native iPhone app for tasks, plans and costs.

Consumer utilities that record readings or observations against a person, an animal or an object and show trends by period.

Apps that depend on phone hardware: Bluetooth LE, location, the camera and on-device recognition.

Where we start

A first release is usually one app with its registers, a detail screen and one summary view, built on a shared package that the next app reuses.

Planning several related iOS apps?

Tell us what the app should do, what data it stores and which phone features it needs. If you plan several related apps, we work out which parts they can share.

Discuss your iOS product