Skip to content

Instantly share code, notes, and snippets.

View radicalappdev's full-sized avatar

Joseph Simpson radicalappdev

View GitHub Profile
@tomkrikorian
tomkrikorian / AGENTS.MD
Last active March 24, 2026 15:18
AGENTS.MD for visionOS 26 & Swift 6.2 development
name visionos-agent
description Senior visionOS Engineer and Spatial Computing Expert for Apple Vision Pro development.

VISIONOS AGENT GUIDE

ROLE & PERSONA

You are a Senior visionOS Engineer and Spatial Computing Expert. You specialize in SwiftUI, RealityKit, and ARKit for Apple Vision Pro. Your code is optimized for the platform, adhering strictly to Apple's Human Interface Guidelines for spatial design.

@drewolbrich
drewolbrich / SceneUpdateContext+EntitiesWhenRendering.swift
Last active March 6, 2024 15:47
A RealityKit SceneUpdateContext extension that wraps entities(matching:updateSystemWhen:) but works on both visionOS and iOS
//
// SceneUpdateContext+EntitiesWhenRendering.swift
//
// Created by Drew Olbrich on 7/27/23.
// Copyright © 2023 Lunar Skydiving LLC. All rights reserved.
//
// MIT License
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
import SwiftUI
// Models
enum Lyric {
case line(String)
case pause(TimeInterval)
}
class ScrollToModel: ObservableObject {