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 | |
| extension NSSortDescriptor { | |
| // CFBinaryHeapCompareContext does not actullay retains the info field which looks like a bug | |
| func makeBinaryHeap() -> CFBinaryHeap { | |
| // let naturalOrder = NSSortDescriptor(key: "self", ascending: true) | |
| var heapCb = kCFStringBinaryHeapCallBacks | |
| var context = CFBinaryHeapCompareContext() | |
| heapCb.retain = kCFTypeDictionaryKeyCallBacks.retain |
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 Dispatch | |
| class Receiver: NSObject, NSMachPortDelegate { | |
| weak var ref:DispatchQueue? | |
| weak var runLoop:CFRunLoop? | |
| let perform:@convention(c) (DispatchQueue) -> DarwinBoolean | |
| func handleMachMessage(_ msg: UnsafeMutableRawPointer) { | |
| guard let ref else { return } |
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 JavaScriptCore | |
| @objc(JSModuleLoaderDelegate) | |
| public protocol JSModuleLoaderDelegate: NSObjectProtocol { | |
| @objc(context:fetchModuleForIdentifier:withResolveHandler:andRejectHandler:) | |
| func context(_ context: JSContext, fetchModuleFor identifier: JSValue, withResolveHandler: JSValue, andRejectHandler: JSValue) | |
| @objc(willEvaluateModule:) | |
| optional func willEvaluateModule(_ key: URL) |
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
| // | |
| // CSVParserSequence.swift | |
| // MyTool | |
| // | |
| // Created by 박병관 on 8/25/25. | |
| // | |
| import Foundation |
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
| { | |
| "workbench.colorTheme": "Default Dark Modern", | |
| "terminal.integrated.profiles.windows": { | |
| "PowerShell": { | |
| "source": "PowerShell", | |
| "icon": "terminal-powershell" | |
| }, | |
| "Command Prompt": { | |
| "path": [ | |
| "${env:windir}\\Sysnative\\cmd.exe", |
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
| #nullable enable | |
| using System; | |
| using System.Runtime.InteropServices; | |
| using System.Text; | |
| public static class AppleMessagesend | |
| { | |
| #if UNITY_IOS || UNITY_EDITOR_OSX || UNITY_STANDALONE_OSX || UNITY_TVOS |
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 ObjectiveC | |
| final class SwiftNSProxyObject<T:NSObjectProtocol>: NSProxy { | |
| @nonobjc | |
| var baseObject:T! | |
| typealias MethodLookup = @convention(c) (AnyObject, Selector, Selector) -> (Unmanaged<NSObject>?) | |
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
| // | |
| // CompatKeyboardLayoutGuide.swift | |
| // | |
| import UIKit | |
| import Combine | |
| // Backport LayoutGuide for UIKeyboardLayout (This only works for Docked Keyboard) | |
| @MainActor | |
| public class CompatDockedKeyboardLayoutGuide: UILayoutGuide { |
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 UniformTypeIdentifiers | |
| import MobileCoreServices | |
| struct AnimatingBitmapView: View, Equatable { | |
| static func == (lhs: Self, rhs: Self) -> Bool { | |
| lhs.param == rhs.param && lhs.label == rhs.label && lhs.paused == rhs.paused && lhs.resizingMode == rhs.resizingMode && lhs.capInsets == rhs.capInsets |
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
| // | |
| // customization.swift | |
| // BTree | |
| // | |
| // Created by 박병관 on 3/9/25. | |
| // | |
| import Foundation | |
NewerOlder