This file contains hidden or 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 UIKit | |
| // Look to Scroll is a visionOS feature exposed through UIKit. | |
| @available(visionOS 27.0, *) | |
| final class ReaderViewController: UIViewController { | |
| private let scrollView = UIScrollView() | |
| private let contentLabel = UILabel() | |
| private let controlsView = UIVisualEffectView( |
This file contains hidden or 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
| // | |
| // USDInspectorModel.swift | |
| // WWDC25Demo | |
| // | |
| // Created by Anton Gubarenko on 22.08.2026. | |
| // | |
| import SwiftUI | |
| import Observation | |
| import RealityKit |
This file contains hidden or 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 Observation | |
| import DiskImageKit | |
| import Virtualization | |
| @available(macOS 27.0, *) | |
| @MainActor | |
| @Observable | |
| final class VMDiskSnapshotModel { |
This file contains hidden or 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 Observation | |
| import StateReporting | |
| // MARK: - StateReporting Metadata | |
| @available(iOS 27.0, *) | |
| @ReportableMetadata | |
| struct CleanupStableMetadata: Equatable { | |
| /// A low-cardinality value that changes how cleanup behaves. |
This file contains hidden or 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
| // | |
| // DataDetectorView.swift | |
| // WWDC25Demo | |
| // | |
| // Created by Anton Gubarenko on 04.08.2026. | |
| // | |
| import SwiftUI | |
| import DataDetection |
This file contains hidden or 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
| // | |
| // ChatMessage.swift | |
| // WWDC25Demo | |
| // | |
| // Created by Anton Gubarenko on 22.07.2026. | |
| // | |
| import Foundation | |
| import SwiftUI |
This file contains hidden or 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 UIKit | |
| import MediaIntelligence | |
| struct MediaIntelligenceView: View { | |
| var body: some View { | |
| VStack { | |
| if #available(iOS 27.0, *) { |
This file contains hidden or 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
| // | |
| // SceneCloseSUIApp.swift | |
| // SceneCloseSUI | |
| // | |
| // Created by Anton Gubarenko on 12.07.2026. | |
| // | |
| import SwiftUI | |
| /// Defines the app entry point and creates UUID-backed SwiftUI window scenes. |
This file contains hidden or 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 | |
| struct HumidityRate: Identifiable { | |
| let humidity: Int | |
| let date: Date | |
| var id: Date { date } | |
| init(minutesOffset: Double, humidity: Int) { |
This file contains hidden or 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 SwiftBits: View { | |
| //Some mode | |
| enum PickerMode { | |
| case left, right | |
| } | |
| @State private var mode: PickerMode = .left |
NewerOlder