DRY Authenticated Tasks in Cocoa (with distributed objects)
- by arbales
I'm kind of surprise/infuriated that the only way for me to run an authenticated task, like perhaps sudo gem install shi*t, is to make a tool with pre-written code.
I'm writing a MacRuby application, which doesn't seem to expose the KAuthorization* constants/methods. So.. I learned Cocoa and Objective-C.
My application creates a object, serves…