How to find the file (url) that was double-clicked to open my Cocoa Application?

2016-03-29 Thread Motti Shneor
Hi Everyone. My issue is tied to a very specific scenario, but still a Cocoa question. I write a custom Installer Plugin (code bundle), used to customize our installations (done via Mac Installer). The plugin bundle is loaded at some arbitrary time by the Installer App. It needs access to the

Strange Delay

2016-03-29 Thread Gerriet M. Denkmann
This is done once (OS X 10.10.5): commonSendQueue = dispatch_queue_create( “common socket queue", DISPATCH_QUEUE_SERIAL); Several objects do this quite often: NSDate *dax0 = [ NSDate date ]; dispatch_async(commonSendQueue, ^{ @autoreleasepool { [ someOtherObject doSomethingwithD