I can't seem to manage to make my compass application function anywhere near as smoothly as Apple's, and I haven't seen any compass applications from independent developers that don't lag and sometimes jump erratically like mine does.
Is there any open source that demonstrates how to achieve such fluidity? Accuracy isn't quite so important, but smooth animation is.
More general direction advice: