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
| private struct EquatableArray: Equatable { | |
| private var values = [Any]() | |
| private var compares = [(Any) -> Bool]() | |
| mutating func append<T: Equatable>(_ value: T) { | |
| values.append(value) | |
| compares.append { ($0 as? T) == value } | |
| } | |
| static func == (lhs: EquatableArray, rhs: EquatableArray) -> Bool { |
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
| // | |
| // VariableBlurView.swift | |
| // MFileViewer | |
| // | |
| // Created by yuki on 2025/04/21. | |
| // | |
| import SwiftUI | |
| import UIKit | |
| import CoreImage |
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 os | |
| final public class OptionalContinuation<T, E: Error>: Sendable { | |
| @usableFromInline let hasResumed = OSAllocatedUnfairLock(initialState: false) | |
| @usableFromInline let continuation: CheckedContinuation<T?, E> | |
| @inlinable public init(_ continuation: CheckedContinuation<T?, E>) { | |
| self.continuation = continuation | |
| } |
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
| // | |
| // VibrancyEffect.swift | |
| // MFileViewer | |
| // | |
| // Created by yuki on 2025/02/07. | |
| // | |
| import SwiftUI | |
| public struct VibrancyEffect<Content: View>: View { |
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
| extension UIMenu { | |
| private var childrenView: some View { | |
| ForEach(self.children, id: \.self) { element in | |
| element.swiftUIViewAsElement | |
| } | |
| } | |
| func incompleteConvertionForSwiftUI() -> some View { | |
| self.childrenView |
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
| // | |
| // GlassView.swift | |
| // MFileViewer | |
| // | |
| // Created by yuki on 2025/03/14. | |
| // | |
| import SwiftUI | |
| struct GlassViewMain: View { |
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
| // | |
| // NonDeclarativeAlert.swift | |
| // MFileViewer | |
| // | |
| // Created by yuki on 2025/02/25. | |
| // | |
| import SwiftUI | |
| public struct AlertAction<Value> { |
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
| // | |
| // SystemVolumeManager.swift | |
| // SystemVolumeController | |
| // | |
| // Created by yuki on 2025/02/15. | |
| // | |
| import SwiftUI | |
| import MediaPlayer |
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
| // | |
| // GainOverOnePlayer.swift | |
| // MFileViewer | |
| // | |
| // Created by yuki on 2025/02/08. | |
| // | |
| import AVFoundation | |
| import CoreMedia | |
| import AudioToolbox |
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>ANSIBlueColor</key> | |
| <data> | |
| YnBsaXN0MDDUAQIDBAUGKyxYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS | |
| AAGGoKcHCBMZHSQoVSRudWxs1QkKCwwNDg8QERJcTlNDb21wb25lbnRzVU5TUkdCXE5T | |
| Q29sb3JTcGFjZV8QEk5TQ3VzdG9tQ29sb3JTcGFjZVYkY2xhc3NPEB0wLjEwOTkzNDE3 | |
| OTcgMC4zODQ2NjI5NzQ5IDEgMU8QKDAuMDg3NzcxNjM5MjMgMC4yNjk3MjE1Njc2IDAu |
NewerOlder