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 AVFoundation | |
| // Now Playing is used exclusively from PodcastPlayer's main-actor context. | |
| @preconcurrency import NowPlaying | |
| import Observation | |
| @main | |
| struct PodcastDemoApp: App { | |
| @State private var player = PodcastPlayer( | |
| episode: .init( |
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
| struct FocusTimerEntity: AppEntity, Identifiable, Hashable { | |
| static let typeDisplayRepresentation = TypeDisplayRepresentation( | |
| name: "Focus Timer" | |
| ) | |
| static let defaultQuery = FocusTimerQuery() | |
| var id: String | |
| private let titleValue: String |
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
| // | |
| // RemoteSupportModel.swift | |
| // GlassEffectDemo | |
| // | |
| // Created by Anton Gubarenko on 19.09.2026. | |
| // | |
| // | |
| // RemoteSupportModel.swift |
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
| // | |
| // SupCharts.swift | |
| // WWDC25Demo | |
| // | |
| // Created by Anton Gubarenko on 31.08.2026. | |
| // | |
| import Charts | |
| 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 Foundation | |
| import CrashReportExtension | |
| @main | |
| struct UtilityCrashReporterExtension: CrashReporterExtension { | |
| func processCrashReport(process: CrashedProcess) { | |
| let report = CrashEnvelope(process: process) | |
| do { |
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 |
NewerOlder