문제

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!

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top