mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
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.
11 lines
231 B
Objective-C
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
|