Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cizodevahm/visionos-basic-spatial-view
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.
https://github.com/cizodevahm/visionos-basic-spatial-view
swift visionos visionos-simulator visionpro
Last synced: about 1 month ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/cizodevahm/visionos-basic-spatial-view
- Owner: cizodevahm
- License: gpl-3.0
- Created: 2024-04-21T17:55:38.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-04-22T07:49:59.000Z (8 months ago)
- Last Synced: 2024-10-24T04:26:43.886Z (2 months ago)
- Topics: swift, visionos, visionos-simulator, visionpro
- Language: Swift
- Homepage: https://www.cizotech.com
- Size: 18.4 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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+