876 B
876 B
Feature: Result Display (PyObjC)
Description
Display the analysis results natively in the AppKit UI.
Requirements
-
Result UI:
- Add a scrollable
NSTextView(within anNSScrollView) below the image view. - Initially empty or hidden.
- Add a scrollable
-
Workflow:
- Live Mode: Camera active, Button says "Capture", Text view hidden/empty.
- Processing Mode: specific indication.
- Result Mode: Camera paused on captured frame, Button says "Scan Another", Text view shows description.
-
Data Binding:
- Update the
NSTextViewstring with the OpenAI response. - Clicking "Scan Another" resets the UI to Live Mode.
- Update the
Acceptance Criteria
- App cycles correctly: Capture -> Result -> Scan Another -> Capture.
- Result text is readable in a native macOS scroll view.
- Window resizing layout remains sane.