(Summary generated by ChatGPT based on the automatic transcription. Transcript is attached to this Gist)
-
Host: Shashank
-
Panelists: Michael, Erik, Richard, Ronan
| // | |
| // IntelligenceUIPlatterView.swift | |
| // | |
| // Created by Stephan Casas on 2/13/25. | |
| // | |
| import SwiftUI | |
| import AppKit | |
| import Combine |
| # PDF to PNG shell script for Quickdrop app | |
| # https://quickdrop.antran.app/ | |
| # pdfburst shell script | |
| # chmod 0755 pdfburst | |
| #!/usr/bin/swift | |
| import Foundation | |
| import PDFKit |
| import SwiftUI | |
| public struct UniformWindowGroup<Content: View>: Scene { | |
| var id: String? | |
| var maxWidth: CGFloat | |
| var maxHeight: CGFloat | |
| var aspectRatio: CGFloat | |
| var content: Content | |
| @State private var setSize: CGSize? |
| import SwiftUI | |
| import UniformTypeIdentifiers | |
| struct FileDragProvider: NSViewRepresentable { | |
| var filePromise: FilePromise | |
| var preview: PlatformImage | |
| class NSViewType: NSView, NSFilePromiseProviderDelegate, NSDraggingSource { | |
| var filePromise: FilePromise | |
| var preview: PlatformImage |
| #!/bin/bash | |
| # https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api | |
| searchTerms=( | |
| # File timestamp APIs | |
| "creationDate" | |
| "modificationDate" | |
| "fileModificationDate" | |
| "contentModificationDateKey" | |
| "creationDateKey" |
| // | |
| // ThreadSafe.swift | |
| // GDICore | |
| // | |
| // Created by Grant Davis on 1/2/21. | |
| // Updated to support `_modify` accessor on 12/5/21. | |
| // | |
| // Copyright © 2021 Grant Davis Interactive, LLC. All rights reserved. | |
| // | |
| import Foundation |
| JSON: | |
| https://unpkg.com/[email protected]/emoji.json | |
| class EmojiManager: ObservableObject { | |
| @Published var emojis: [EmojiObject] = [] | |
| init() { | |
| decodeJSON() |
| import SwiftUI | |
| enum TrigonometricFunction: CaseIterable { | |
| case sinus | |
| case cosinus | |
| func apply(_ value: Double) -> Double { | |
| switch self { | |
| case .cosinus: | |
| return cos(value) |
| #!/bin/zsh | |
| makeXCFramework () { | |
| BASEDIR=$(pwd) | |
| echo "Script location: ${BASEDIR}" | |
| LIBNAME=$(basename $BASEDIR) | |
| echo "lib is: $LIBNAME" | |
| cd Frameworks |