Table of Contents
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
// | |
// ContentView.swift | |
// MadeForYouCard | |
// | |
// Created by AppleDesignDev on 1/24/22. | |
// | |
import SwiftUI | |
struct ContentView: 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
import InterposeKit | |
import SwiftUI | |
/// A workaround for an issue in SwiftUI related to delayed highlighting of list rows upon user | |
/// interaction, rendering it inconsistent with UIKit. | |
/// | |
/// This fix implements the solution proposed by Léo Natan and utilizes `InterposeKit` by Peter | |
/// Steinberger to modify the behavior of `UICollectionViewCell` instances used internally | |
/// by 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
// Cursed! Do not use! | |
// Supports most, but not all Text initializers. | |
import SwiftUI | |
extension FormatStyle { | |
func format(any value: Any) -> FormatOutput? { | |
if let v = value as? FormatInput { | |
return format(v) |
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
@available(iOS 15.0, *) | |
public struct RichTextEditor : SwiftUICore.View { | |
public init(text: SwiftUICore.Binding<Foundation.AttributedString>) | |
@_Concurrency.MainActor @preconcurrency public var body: some SwiftUICore.View { | |
get | |
} | |
@available(iOS 15.0, *) | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI14RichTextEditorV4bodyQrvp", 0) __ | |
} | |
@available(*, unavailable) |
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
// | |
// IntelligenceUIPlatterView.swift | |
// | |
// Created by Stephan Casas on 2/13/25. | |
// | |
import SwiftUI | |
import AppKit | |
import Combine |
OlderNewer