2009-03-20 プロトコル確認 Objective-C あるオブジェクトが、プロトコルを実装しているか確認する方法 if ([[NSString class] conformsToProtocol:@protocol(NSCoding)]) ...