Skip to content

delasign/vision-os-starter-project

Repository files navigation

πŸš€ Quick start

  1. Open Xcode

    Open this project in Xcode

πŸ’» Keyboard Shortcuts

Select Many lines Control + Shift + Click

##Find

Find in File Command + F

Find and Replace in Project Command + Shift + F

##Find and Replace Same as the above and select replace from the dropdown.

πŸ“ Projects

You may be interested in our other open source projects.

  1. Swift (UIKit) πŸ”—
  2. SwiftUI πŸ”—

πŸ“° Guides

  1. Apple App Launch Screen Best Practices πŸ”—
  2. How to localize iOS, VisionOS MacOS, TVOS & WatchOS apps in SwiftUI πŸ”—
  3. Apple App Store E-Commerce Business Guide πŸ”—
  4. E-Commerce Fees in Apple App Store Apps πŸ”—
  5. Apple In-App Purchases and Subscriptions Development Guide πŸ”—
  6. How to reduce risk when developing Apple e-commerce apps πŸ”—
  7. How to build an app that uses Apple In-App Purchases and Subscriptions πŸ”—
  8. Free Open-Source Apple StoreKit 2 Swift Project πŸ”—
  9. How to Create a Website Smart App Banner for your App & App Clip. πŸ”—
  10. iOS Accessibility Resource Guide πŸ”—
  11. Debugging recommendations for XCode & Swift (iOS) πŸ”—
  12. Apple Metal Resources Guide πŸ”—
  13. SwiftUI: What are property wrappers and which should I use? πŸ”—
  14. SwiftUI SwiftData Quick Start Guide πŸ”—

πŸ“š Tutorials

VisionOS Core

Windows and Volumes

  1. How to create a VisionPro project with a Window πŸ”—
  2. How to create a VisionPro project with a Volume πŸ”—
  3. How to open multiple windows and volumes in VisionOS πŸ”—
  4. How to open and close windows and volumes programmatically in VisionOS πŸ”—
  5. How to add an ornament to a window or volume in VisionOS πŸ”—

Spaces

  1. How to create an app that allows immersion in VisionOS πŸ”—
  2. How to launch into an immersive space in VisionOS πŸ”—
  3. How to create spaces with multiple immersion styles in VisionOS πŸ”—

SwiftUI Core

SwiftUI User Interfaces

  1. How to make an entire view clickable in SwiftUI πŸ”—
  2. How to set the size of an image in SwiftUI πŸ”—
  3. How to set a frame proportional to a window or screen in SwiftUI πŸ”—
  4. πŸ”—
  5. How to set the frame of a view to fill its parents width and height πŸ”—
  6. How to apply SafeAreaInsets in SwiftUI πŸ”—

SwiftUI Property Wrappers

  1. SwiftUI: What are property wrappers and which should I use? πŸ”—
  2. SwiftUI: Property Wrapper πŸ”—
  3. SwiftUI: Binding Property Wrapper πŸ”—
  4. SwiftUI: Environment Property Wrapper πŸ”—
  5. SwiftUI: Bindable Property Wrapper πŸ”—
  6. SwiftUI: SceneStorage Property Wrapper πŸ”—
  7. SwiftUI: AppStorage Property Wrapper πŸ”—
  8. How to bind a variable from an @Environment object in SwiftUI πŸ”—

SwiftUI Macros

  1. What is a Macro in Swift? πŸ”—
  2. SwiftUI: Observable Macro πŸ”—
  3. SwiftData: Model Macro πŸ”—
  4. How to create a complex member Macro in Swift πŸ”—

SwiftUI Protocols

  1. What is a Protocol in Swift? πŸ”—
  2. SwiftUI: Identifiable Protocol πŸ”—

Debugging

  1. How to add and use a breakpoint in XCode πŸ”—
  2. How to view all breakpoints in XCode πŸ”—
  3. How to activate or deactivate breakpoints in XCode πŸ”—
  4. How to remove a breakpoint in XCode πŸ”—
  5. How to profile CPU usage using Instruments in XCode πŸ”—
  6. How to diagnose a hang, severe hang or freeze in XCode πŸ”—

Design Systems

  1. How to create a Styleguide in SwiftUI πŸ”—
  2. Can I override the SwiftUI App fonts and sizes? πŸ”—

Data

  1. SwiftUI SwiftData Quick Start Guide πŸ”—

Async / Await

  1. How to use async and await in Swift projects πŸ”—

RealityKit

Basics

  1. How to programmatically add a model in RealityKit πŸ”—
  2. How to set the position, scale or rotation of a model in RealityKit πŸ”—
  3. How to animate a models rotation across its axis in RealityKit πŸ”—
  4. How to animate a models position and scale in RealityKit πŸ”—

Reality Composer Pro

Basics

  1. How to open Reality Composer Pro πŸ”—
  2. How to create a new Reality Composer Pro project πŸ”—
  3. How to create a new Scene in Reality Composer Pro πŸ”—
  4. How to create a new RealityKitContent package for a VisionOS project πŸ”—
  5. How to export a Reality Composer Pro project for AR Quick Look πŸ”—

Particles

  1. How to make a fire effect using particles and Reality Composer Pro πŸ”—
  2. How to add particles to a window, volume or space in VisionOS πŸ”—

Materials

  1. How to create a custom PBR material in Reality Composer Pro πŸ”—
  2. How to create a custom shader material using Reality Composer Pro πŸ”—
  3. How to apply a custom material in Reality Composer Pro πŸ”—
  4. How to promote shader parameters in Reality Composer Pro πŸ”—
  5. How to set the parameter of the promoted input in XCode πŸ”—

Reality Converter

  1. How to convert an animated FBX into a USDZ πŸ”—
  2. How to export material textures using Reality Converter πŸ”—

Previews

  1. How to create localizable XCode Previews πŸ”—
  2. How to create multiple XCode previews within a single view πŸ”—
  3. How to preview light and dark mode in XCode Previews πŸ”—
  4. How to preview SwiftData in XCode Previews πŸ”—
  5. How to show or hide the XCode Preview Canvas πŸ”—
  6. How to check if code is running in an XCode Preview in Swift πŸ”—

Errors

  1. How to resolve the "Declaration name is not covered by macro" error πŸ”—
  2. How to resolve "Fatal Error in Environment+Objects" in XCode Previews πŸ”—

Other

  1. How to check if an app is in the Simulator in Swift πŸ”—

About

An Xcode VisionOS starter project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages