> LOGGING FROM DIFFERENT BACKGROUND THREADS AT ONCE
Or, you could just make a logging serial queue that you send all log messages to; that way there's no risk of activity on the main thread slowing down your logging. In (Obj-)C:
This only works right if none of the frameworks you use log anything by themselves - messages will get garbled otherwise. Logging through the main queue exhibits the same issue, but at least Cocoa logging (which is always in the main thread) is dealt with.
The site uses the StartCom CA, which offers free SSL certificates. I like their service, but I remember that my old OS X 10.5 box does not recognise them, either. It seems to be a relatively recent addition:
I've used it in a few projects, and it makes dealing with async things feel surprisingly natural:
It's also easy trivial to adapt existing callback-based[2] and delegate-based[3] APIs to promises.[1]: https://gist.github.com/Sidnicious/93d2a8db1266e2fd239c
[2]: https://gist.github.com/Sidnicious/69df2c483aadc08bda4f
[3]: https://gist.github.com/Sidnicious/99b099d9b6f2ecb9e383