如果能提交任何您發現的錯誤,我將不勝感激。
舊字形的優點.png
import SwiftUI | |
struct Flow: Layout { | |
struct PartialRect { | |
let subview: LayoutSubview | |
let x: CGFloat | |
let size: CGSize | |
} | |
import Combine | |
import Foundation | |
// MARK: - MazeGenerator (Model) | |
/// An actor that generates a maze using a depth-first search (DFS) based approach. | |
/// 深さ優先探索 (DFS) ベースのアルゴリズムを用いて迷路を生成する。 | |
/// | |
/// This actor provides an async stream of snapshots (`MazeGenerator.Snapshot`) so that observers | |
/// can track the maze's state and generation progress in real time. |
// Responsive Chips Selection | |
// See Also: https://youtu.be/T82izB2XBMA?si=Cnf6rGdyisG8ZWoX | |
import SwiftUI | |
struct Tag: Hashable { | |
var name: String | |
var color: Color | |
} |
// Copyright © 2025 MING | |
// MIT License | |
import SwiftUI | |
struct ContentView: View { | |
@State private var colorful: Bool = true | |
@State private var dragLocation: CGPoint = .zero | |
var body: some View { |
import AppKit | |
import Charts | |
import CoreVideo | |
import SwiftUI | |
struct FPSMeasurement: Identifiable, Equatable { | |
let id: Int | |
let fps: Int | |
static func == (lhs: FPSMeasurement, rhs: FPSMeasurement) -> Bool { |
Warning
This is patched as of iOS/iPadOS 18.1 DevBeta 5. If you want to follow this, stay on Beta 4.
import SwiftUI | |
// MARK: - ProgressRingScreen | |
/// A screen demonstrating a circular progress ring with a slider and control panel. | |
/// Uses a `ProgressRingViewModel` to track and animate the progress state. | |
struct ProgressRingScreen: View { | |
/// A view model that tracks and animates the progress value. | |
@State var viewModel = ProgressRingViewModel() | |
/* ==UserStyle== | |
@name gmail--mono | |
@namespace github.com/openstyles/stylus | |
@version 1.0.10 | |
@description Implementation of https://x.com/guerriero_se/status/1792924958579900781. | |
@author Sebastiano Guerriero, Cyriaque 'cisoun' Skrapits | |
==/UserStyle== */ | |
/* | |
* WARNING: Use Gmail's default theme with this! |