• Stars
    star
    215
  • Rank 183,925 (Top 4 %)
  • Language
    Swift
  • Created over 1 year ago
  • Updated 10 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Examples of how to build things in VisionOS

visionOS Examples

Examples of how to build things in visionOS. Very early, so expect a lot of changes. Create an issue if there's something you think should be added.

Simulator Screen Recording - Apple Vision Pro - 2023-08-02 at 14 23 42

Todo

  • Simple Text Elements
  • Simple Control Elements
  • Simple Grid
  • Simple Present Window
  • Simple Ornaments
  • Open windows with custom sizes
  • Present Sheets
  • Map view
  • Simple Spatial Audio Example
  • Volumetric Window
  • Add more controls to the controls page
  • More advanced text layouts
  • Images
  • More Advanced window presentation
  • Different size window presentation
  • Accessing sensors
  • Immersion mode
  • Immersion demos
  • 3d objects
  • Advanced Spatial Audio
  • Animations

If you want to add to the repo, make a PR and look at the example pages on how to add your own. You'll need to create a new page and a View that represents what you want to show there. Feel free to make a pr and tag me into it if you're not sure.

Examples

Text Elements

Simulator.Screen.Recording.-.Apple.Vision.Pro.-.2023-08-01.at.22.19.53.mp4

Controls

Simulator.Screen.Recording.-.Apple.Vision.Pro.-.2023-08-01.at.22.19.45.mp4

Grid

Simulator.Screen.Recording.-.Apple.Vision.Pro.-.2023-08-01.at.22.19.35.mp4

Ornaments

Simulator.Screen.Recording.-.Apple.Vision.Pro.-.2023-08-02.at.14.19.53.mp4

Open Windows

Simulator.Screen.Recording.-.Apple.Vision.Pro.-.2023-08-01.at.23.06.11.mp4

Other Example Repos

Check out my other example repos

🏝 Dynamic Islands

📊 Swift Charts

🥽 TipKit