
Realitykit
A solid reference for building AR apps on iOS with RealityKit and ARKit. Covers the full workflow from setting up RealityView in SwiftUI to loading USDZ models, anchoring content to detected planes, and handling gestures on 3D entities. The raycasting section for tap-to-place interactions is a bit sparse, but the component system examples (physics, collision, input targeting) are clear and practical. Targets Swift 6.3 and iOS 26+, which is forward-looking but means you'll need to adjust APIs if you're shipping to current devices. Good for getting AR prototypes running quickly without digging through scattered Apple docs.
- skills.sh installs
- 3.4K
- GitHub stars
- 1.3K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add dpearson2699/swift-ios-skills --skill realitykit --agent claude-codeInstalls into .claude/skills of the current project.
Files
RealityKit
Build AR experiences on iOS using RealityKit for rendering and ARKit for world
tracking. Covers RealityView, entity management, raycasting, scene
understanding, and gesture-based interactions. Targets Swift 6.3 / iOS 26+.
Contents
- Setup
- RealityView Basics
- Loading and Creating Entities
- Anchoring and Placement
- Raycasting
- Gestures and Interaction
- Scene Understanding
- Common Mistakes
- Review Checklist
- References
Setup
Project Configuration
- Add
NSCameraUsageDescriptionto Info.plist - On iOS,
RealityViewCameraContentdisplays an AR camera view by default (iOS 18+, macOS 15+); use.virtualcamera mode for explicit non-AR fallback - No entitlement is required for basic AR. If AR is core to the app, add the
arkitrequired-device capability; otherwise gate AR UI withisSupported.
Device Requirements
Check the exact AR configuration's isSupported value before presenting AR UI.
import ARKit
Sponsors
Details
- Repository
- github.com/dpearson2699/swift-ios-skills
- Categories
- DevOps & CI/CD, Mobile Development
- First seen
- May 16, 2026
More from dpearson2699/swift-ios-skills
All 98- Avkit3.4K
- Spritekit3.3K
- Cryptokit3.3K
- Metrickit3.3K
- Pdfkit3.3K
- Gamekit3.3K
- Eventkit3.3K
- Musickit3.3K
- Swift Architecture3.3K
- Pencilkit3.3K
- Carplay3.2K
- Ios Simulator3.2K
- Scenekit3.2K
- Homekit3.2K
- Accessorysetupkit3.2K
- Callkit3.2K
- Cryptotokenkit3.2K
- Financekit3.2K
- Adattributionkit3.2K
- Paperkit3.2K
- Passkit3.2K
- Audioaccessorykit3.2K
- Dockkit3.2K
- Browserenginekit3.2K