PitchLoopVR is a visionOS SharePlay app for presentation practice. It supports one Speaker and up to three Audience participants, with role-specific onboarding and synchronized session state.
PitchVR Loop adapts an Apple SharePlay sample into a presentation practice experience. One participant acts as the speaker, while the rest join as audience members. The app uses a shared session so real people can observe a presentation, send feedback, and support a more realistic communication practice environment. The core idea is to help speakers improve both during and after a presentation through live audience participation, lightweight in-session nudges, and post-presentation reflection.
Note: This project’s Shareplay feature started from templates demonstrated in WWDC24 session 10201: Customize spatial Persona templates in SharePlay.
The speaker presents inside the session, receives live nudges during the presentation, and reviews audience feedback afterward.
Audience members are real users in the SharePlay session. They observe, send real-time feedback, and contribute post-presentation reflections.
- Audience members can send feedback while the presentation is happening.
- Feedback is delivered live to help the speaker adjust in the moment.
- The experience keeps real users in the loop instead of relying only on automated scoring.
- Small notifications appear during the presentation.
- Nudges are designed to guide the speaker without interrupting flow.
- These prompts may focus on pacing, clarity, confidence, or engagement.
Audience ambianceCoughingPhone ringingEnvironment-specific pressure sounds
After the presentation, the speaker receives feedback in areas such as:
PaceEye ContactVolumeTiming & Structure
To make practice more realistic, later versions may include:
- AI-generated audience behavior,
- adaptive interview simulations,
- public speaking anxiety coaching,
- classroom integration,
- recruiter and mentor feedback rooms,
- and communication training for industries like healthcare, leadership, and sales.
- Start/join SharePlay from the entry view.
- In onboarding, each participant selects a role (
SpeakerorAudience). - Role-specific onboarding UI is shown:
- Speaker:
SpeakerFeedbackView→SpeakerCueInstructionView→SpeakerStartSessionView - Audience:
AudienceOnboardingView→ tutorial feedback flow →AudienceReminderView→AudienceReadyView→AudienceWaitingView - Both roles see different panels and interactions tailored to their responsibilities.
- Speaker:
- Speaker starts session only when backend conditions are met (role/assignment/readiness checks).
- A shared countdown (
SessionStartCountdownView) appears, then stage switches to speaking.
- Only one speaker can be selected.
- Speaker can start session only if:
- local role is speaker
- no unassigned participants
- audience count is in
1...3 - all audience participants are ready
- Countdown deadline is synchronized through shared session state.
SessionState.ActivityStage:onboarding,speaking,reviewingStageManager: maps backendActivityStageto local stage managersOnboardingStageManager: controls onboarding screens:roleSelectionspeakerFeedbackspeakerCueInstructionspeakerStartSessionaudienceOnboardingaudienceReminderaudienceReadyaudienceWaiting
main: primary app windowspeaking-stage: speaker-only overlay window forSpeakerFeedbackOverlayonboarding-cue-preview: auxiliary cue preview window shown duringSpeakerCueInstructionView
- Primary persisted dataset:
FeedbackStore.feedbackHistory: [FeedbackMessage]- Populated when audience submits feedback via
submitAudienceFeedback(...). - Also populated from remote participants via SharePlay message sync.
- Each
FeedbackMessageincludes:id,type,notificationText,sentAt,senderID,senderName.
- Populated when audience submits feedback via
- Ephemeral speaking-only dataset:
FeedbackStore.pendingFeedback- Used only for live speaker banners in
SpeakerFeedbackOverlay. - Cleared when presentation ends and when stage transitions to
reviewing.
- Used only for live speaker banners in
- Synchronization/catch-up behavior:
FeedbackMessageevents are sent in real time.FeedbackHistoryMessagesends fullfeedbackHistoryto newly joined participants.
- Lifecycle/reset rules:
- Entering a new speaking stage clears both
pendingFeedbackandfeedbackHistory. - Transition
speaking -> reviewingpreservesfeedbackHistoryand clears onlypendingFeedback. - Session reset/invalidation clears both arrays.
- Entering a new speaking stage clears both
- Current reviewing-stage UI note:
ReviewingStageViewis currently a placeholder (Color.clear), so stored history is ready but not yet rendered.
SpeakingStageView(speaker main panel) opensspeaking-stagewindow.SpeakingStageWindowViewhostsSpeakerFeedbackOverlayfor speaker cue banners.AudienceSpeakingMainPanelViewhostsAudienceFeedbackPanel(ornament modal flow) for audience input.- Data flow:
- Audience taps feedback ->
SharePlaySessionController.submitAudienceFeedback(...) - Store + sync ->
FeedbackStoreand SharePlay messenger - Speaker overlay renders from
feedbackStore.pendingFeedback
- Audience taps feedback ->
PitchLoopImmersiveSpacedeclaresImmersiveSpace(id: "GameSpace").- The immersive scene loads the conference-room model from:
Resources/pitchroomvr.usdz(withpitchroomvr.usdcfallback)
- Immersion style is set to full:
.immersionStyle(selection: ..., in: .full)
- The app opens/dismisses immersive space when session availability changes:
- open when a SharePlay session is present
- dismiss when session ends
- Goal: participants are anchored by the shared 3D environment.
- Scene association is configured to avoid automatic window anchoring:
PitchLoopActivity.metadata.sceneAssociationBehavior = .none
- Spatial persona placement is defined with templates relative to
.app:RoleSelectionTemplatefor onboarding/default + role-selection layoutSessionTemplatefor speaking/reviewing layout (1 speaker, up to 3 audience)
- On newer visionOS versions, immersive content applies:
.groupActivityAssociation(.primary("shared-conference-room"))to make the immersive scene the primary SharePlay-associated context.
- Onboarding panels remain participant-local in placement; shared state (roles/countdown/stage) is synchronized through
SharePlaySessionController.
- If logs show
Failed to find pitchroomvr.usdc in app bundle, verifypitchroomvr.usdcis included in target Copy Bundle Resources. - If immersive does not appear, check
openImmersiveSpaceresult logs (opened,userCancelled,error).
PitchLoopVR/
README.md
PitchLoopVR/
PitchLoopVRApp.swift
PitchLoopWindow.swift
WindowViews/
RootView.swift
SharePlayEntryView.swift
Shared/
ParticipantNameAlert.swift
SharePlayLauncherButton.swift
SessionStartCountdownView.swift
RoleSelectionView.swift
Stages/
OnboardingStageView.swift
ReviewingStageView.swift
SpeakingStageView.swift
SpeakingStageWindowView.swift
AudienceSpeakingMainPanelView.swift
OnboardingUI/
AudienceOnboardingView.swift
AudienceReadyView.swift
AudienceReminderView.swift
AudienceWaitingView.swift
CuePreviewView.swift
SpeakerFeedbackView.swift
SpeakerCueInstructionView.swift
SpeakerStartSessionView.swift
WaitingParticipantsView.swift
SpeakingUI/
FeedbackModels.swift
AudienceFeedbackPanel.swift
SpeakerFeedbackOverlay.swift
ImmersiveSpace/
PitchLoopImmersiveSpace.swift
Models/
PitchLoopAppModel.swift
SessionState.swift
ParticipantModel.swift
GroupActivity/
PitchLoopActivity.swift
SharePlaySessionController.swift
SharePlaySessionController+Synchronization.swift
SharePlaySessionController+ParticipantRoles.swift
SpatialPersonaTemplates/
RoleSelectionTemplate.swift
SessionTemplate.swift
Utilities/
Publisher+withPrevious.swift
Resources/
PitchLoopVR.entitlements
Info.plist
pitchroomvroriginal.usdc
pitchroomvr.usdz
StageManagement/
StageManager.swift
OnboardingStageManager.swift
SpeakingStageManager.swift
ReviewingStageManager.swift
Configuration/
SampleCode.xcconfig
LICENSE/
LICENSE.txt
- SwiftUI
- visionOS
- SharePlay / GroupActivities
- Spatial Persona templates