Write Synchronously to Campfire Room for Debugging

Hi, I'm Hwee-Boon Yar

I write, ship and sell software products. iOS/OS X app developer based in Singapore, working remotely. This is my blog.


Need to run a code review on your codebase? Hire me

I was debugging a very tricky crash in an iPhone app and it only happens on an adhoc build on the device. Not crashing on debug builds on the device means it is very time consuming to track and crash logs aren't helping. I whipped up a function that writes synchronously to a Campfire room and sprinkled them around to help nail this down. Others might find this function that writes a string to Campfire synchronously useful.

Like this post? Follow me @hboon on Twitter.