Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 697 Bytes

File metadata and controls

14 lines (9 loc) · 697 Bytes

ARKit Multipeer Connectivity in SwiftUI

An example of creating a collaborative session in SwiftUI, based on the sample code from Apple.

Key points

  • Using property wrappers from SwiftUI & Combine, View Model structure
  • Extend ARViewContainer for tap gesture
  • Using coordinator that conform to ARSessionDelegate to communicate changes from UIView(ARView) to SwiftUI

References