Skip to content

This repository let's you play with Spatial view of the VisionPro. Demo has list of articles in side view and once you select, it will open in separate view.

License

Notifications You must be signed in to change notification settings

cizodevahm/VisionOS-Basic-Spatial-View

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VisionOS-Basic-Spatial-View

This demo is useful for loading new multimedia like video, image, url, pdf etc., First of all it display an list view like newsfeed and when tapping on it will show inner content like video, image, url, pdf etc.

Code

  • SocialDataModel.swift is use for create model and viewmodal. SocialModel is a model class.
  • SocialDataModel is viewmodel class which is use for storing and passing data
  • VideoPlayerView.swift contain code for playing video
  • SwiftUIImageViewer.swift is use for loading network image and also capability for zoom in/out functionality
  • PDFViewerView.swift is use for displaying url and pdf.

Features

  • 📱 Fully implemented in SwiftUI.
  • 🔄 Easy to integrate and customize.
  • 🎨 Supports any icon and title of your choice.

Requirements

  • VisionOS 1.0+
  • Xcode 12.0+

About

This repository let's you play with Spatial view of the VisionPro. Demo has list of articles in side view and once you select, it will open in separate view.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages