このようなことを行う方法はありますか (以下は機能しません):
@protocol ElementPicker <UIViewController>
- (id)initWithFile:(NSFileWrapper *)file andInfo:(NSString *)info;
@property (nonatomic, weak) NSObject<ElementPickerDelegate> *delegate;
@end
「ElementPicker」を実装するオブジェクトはUIViewController
?から継承する必要があります。