Files
swift-mirror/test/Interop/Cxx/apinotes/Inputs/SomeModule.h
Puyan Lotfi a052979162 [c++-interop] APINotes test for ObjCMethods
This is swift test to go with https://github.com/apple/llvm-project/pull/4118

The test is verifying that a ObjCMethod that is annotated by an APINote
is in fact getting the APINote applied. These types of APINotes are
heavily used by UIKit for instance in didMoveToParentViewController in
UIViewController.
2022-03-23 23:57:34 -04:00

11 lines
231 B
Objective-C

@interface NSSomeClass
-(instancetype)init;
@end
// Extension, inspired by UIKit UIViewController.h
@interface NSSomeClass (UIContainerViewControllerCallbacks)
- (void)didMoveToParentViewController:(NSSomeClass *)parent;
@end