Adaptive API Definitions in Objective-C