Native SwiftUI app for macOS to:
- use the trackpad as an interactive scale (Force Touch pressure as input)
- display live screen tilt in degrees (when hinge data is available on the Mac)
swift build
swift run SenseOr open in Xcode:
open Package.swift- Start the app.
- Click once in the lower
Trackpad Input Surfacearea to focus input. - Press with Force Touch to see live weight updates.
- Use
Tareto zero andResetto clear calibration. - Switch units between
gandN.
- The trackpad scale is qualitative (pressure signal), not a calibrated lab scale.
- Screen tilt uses hinge sensor data when exposed by your model.
- If hinge data is unavailable, the app shows this clearly in the UI.