#import <Foundation/Foundation.h> @interface NSObject (Casting) - (id)as:(Class)cls; @end