I've found workaround. I wrapped block into interface and add one method: invoke which calls block. And instance of this class I pass to helper tool through distributed object.
Distributed Objects and completition block
-
29-06-2022 - |
Domanda
I need to call completion block on OSX 10.8 but when I pass completion block to Privileged Helper tool through Distributed Object (NSConnection) and then I call it my Privileged Helper tool crashes. Does this operation permitted? Or I need to find workaround? Thank you!
Soluzione
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow