- Proposal: FOU-NNNN
- Authors: Debbie Goldsmith, Jeremy Schonfeld
- Status: Pitch
- Related Pitches:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import SwiftUI | |
struct Light: View { | |
var body: some View { | |
Circle() | |
.overlay(rings) | |
.overlay( | |
Circle() | |
.fill(gradient) | |
.alignmentGuide(VerticalAlignment.center, computeValue: { $0.height/10 }) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import SwiftUI | |
import Charts | |
import PlaygroundSupport | |
let spiData: [(package: String, fileCount: Int, mbSize: Int)] = [ | |
(package: "swift-markdown-ui", fileCount: 3796, mbSize: 44), | |
(package: "Microya", fileCount: 414, mbSize: 4), | |
(package: "swift-url-routing", fileCount: 9430, mbSize: 101), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// TassenGugelhupf.swift | |
// Created by Frank Gregor on 18.03.23. | |
// | |
// This code compiles perfectly. Just paste it into a Playground and... | |
// "Let it go" | |
// | |
// You nay ask: "Why so complicated?" | |
// Well, the initial impulse came from this Mastodon thread: | |
// https://swiftdev.space/@phranck/110045414485613046 | |
// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import SwiftUI | |
struct TestModel: Identifiable { | |
let id = UUID() | |
var children: [TestModel]? { | |
(0..<5).map { _ in | |
TestModel() | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func isEqual(_ lhs: Any, _ rhs: Any) -> Bool { | |
guard let lhs = lhs as? any Equatable else { return false } | |
func isEqual<T: Equatable>(lhs: T, rhs: Any) -> Bool { | |
guard let rhs = rhs as? T else { return false } | |
return lhs == rhs | |
} | |
return isEqual(lhs: lhs, rhs: rhs) | |
} |
While it's possible to stream most content to Apple Vision Pro directly over the internet, having the ability to use Apple Vision Pro as an HDMI display can still be useful.
Since Apple Vision Pro does not support connecting to an HDMI input directly or using an HDMI capture card, we have to be a little creative to make this work. NDI provides the ability to stream HDMI content over a local network with really low latency, and it works great with Apple Vision Pro.
This page shows the setup I’m using.
OlderNewer