For example, suppose I had written my own class which allowed me to record audio on the iPhone. iPhone OS 3.0 now provides that functionality as a part of the Cocoa Touch Framework.
How can I use my existing class to support iPhone OS version 2.2.1 and earlier, but at the same time take advantage of the new class provided by the Cocoa Touch Framework to support iPhone OS 3.0?