objc
objc copied to clipboard
🔮 NodeJS ↔ Objective-C bridge (experimental)
Bumps [terser](https://github.com/terser/terser) from 5.10.0 to 5.14.2. Changelog Sourced from terser's changelog. v5.14.2 Security fix for RegExps that should not be evaluated (regexp DDOS) Source maps improvements (#1211) Performance improvements in...
* significantly improves performance by caching parse method types and wrapper functions on first use * JSObjC type bridging is fully integrated with ref-napi's JSC type descriptors and uses ObjC-style...
I am trying to port an app of mine to macOS, and since I need to use MediaRemote.framework which is private, I wondered if there's a way to use this...
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...
This code ``` 'use strict'; const objc = require('objc'); const { NSURL, NSURLTypeIdentifierKey } = objc; const uti = objc.allocRef(); const error = objc.allocRef(); const fileURL = NSURL.fileURLWithPath('/Users/ck'); fileURL.getResourceValue_forKey_error(uti, NSURLTypeIdentifierKey,...
I want to convert nativeWindowHandle to NSView, like ```javascript const myView = win.getNativeWindowHandle() $.myFramework.setView(myView) ``` any suggestion?
Hi! 👋 Firstly, thanks for your work on this project! 🙂 Today I used [patch-package](https://github.com/ds300/patch-package) to patch `[email protected]` for the project I'm working on. ```js objc[cls][method](...args) // xxxx.apply is not...
I want to get current NSView or NSWindow. Is it possible?
I'm looking to create a block that takes an NSRange, and it seems I can't use a struct as a parameter, as I get TypeError: Unable to coerce type from...
Hi! I'm trying to find all scan devices using ImageCaptureCore, but the code below doesn't call the delegate's methods. And the similar Objective-C code does. Maybe I'm wrong somewhere because...