Apple didn't approve of the questionable content, so I'm releasing the source here.