To make a Swift required
init for an ObjC class, put the init in a protocol:
@protocol PSPDFDocumentCreation <NSObject>
- (instancetype)initWithThing:(NSThing)thing;
@end
@interface PSPDFDocument: NSObject <PSPDFDocumentCreation>
@end
To make a Swift required
init for an ObjC class, put the init in a protocol:
@protocol PSPDFDocumentCreation <NSObject>
- (instancetype)initWithThing:(NSThing)thing;
@end
@interface PSPDFDocument: NSObject <PSPDFDocumentCreation>
@end