Category:

Code

One of the benefits of having fantastic developers is we get things done fast.  Really, really fast.  It’s a blessing and a curse: the blessing, because we can iterate and ship quickly, but the curse, because a lot of our time is spent waiting for clients and stakeholders to catch up. One thing that crops […]

Continue reading

In: Code | Tags:

Here’s how to fix it: Close the project, leaving XCode still running. Open XCode’s Organizer window, go to the Projects Tab, select the correct project, and hit the Delete button next to “Derived Data”. Quit XCode. Navigate to your project’s .xcodeproject file in Finder.  Right-click, choose “Show Package Contents.” Leave the project.pbxproj file, but delete […]

Continue reading

In: Code,iphone | Tags:

Experts-Exchange was bad.  Really, really bad.  StackOverflow is much better.  But.  That’s not saying much.  It’s still pretty bad.  I try to avoid it when I can. However, I recently got stuck–something weird was going on with Blocks and memory management.  So I posted this question.  It’s quite a detailed question.  The question itself is […]

Continue reading

Here be dragons. This bug was the bane of my existence for two weeks. The dreaded EXC_BAD_ACCESS. The trouble with this crash is it gives you basically zero information, and often the frame (backtrace) is invalid (so, less than zero information: wrong information). So the first step is to look at the backtrace. Unfortunately, the […]

Continue reading

As part of some SEO I’ve been doing, I’ve been wanting to track an outbound link (specifically, to the app store) as a goal in Google Analytics. The roundabout explanation is that the Google Documentation for tracking outbound links is wrong, because they want you to track it as an event (and events cannot be […]

Continue reading

In: Code | Tags:

I’m finally getting around to publishing bassdll, a project that (unfortunately) has sat on my shelf for over a year now. bassdll is an arduino sound/music engine that lets you wire up piezo buzzers across your arduino pins and make multichannel music! Check out the demo below: Check out the source on github.

Continue reading

Phonepipe was one of my random app ideas that really never got the love and attention it deserved. I wrote it in a weekend, and then Monday happened and real work happened and it ended up on the shelf. There never was a terribly big market for it, and it would be too much work […]

Continue reading

If you’re trying to talk to an MFMailComposeViewController and are setting the delegate property (you know, like every other class in the iPhone SDK), you’re doing it wrong. You need to set mailComposeDelegate. Oh, and just to confuse you, delegate is left in, so as not to cause any warnings or compile errors. It just […]

Continue reading

In: Code,iphone | Tags:

Why doesn’t OS X support POSIX.1b?  No, really? I’m working on writing a threadsafe compiler as part of my research project this summer.  The RTS extensions allow you to send an integer or pointer along with a signal (via the sigqueue function).  Unfortunately, sigqueue and much of RTS is missing from OS X Leopard, as […]

Continue reading

In: Code | Tags:
Powered by WordPress