mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
28 lines
621 B
Objective-C
28 lines
621 B
Objective-C
#include <Foundation/Foundation.h>
|
|
|
|
@interface Butt: NSObject
|
|
|
|
- (instancetype _Nonnull)init;
|
|
|
|
- (void)butt:(NSInteger)x completionHandler:(void (^ _Nonnull)(NSInteger))handler;
|
|
|
|
@end
|
|
|
|
@interface MutableButt: Butt
|
|
@end
|
|
|
|
@interface MutableButt_2Fast2Furious: MutableButt
|
|
@end
|
|
|
|
@interface Farm: NSObject
|
|
|
|
-(void)getDogWithCompletion:(void (^ _Nonnull)(NSInteger))completionHandler
|
|
__attribute__((swift_async_name("getter:doggo()")));
|
|
|
|
-(void)obtainCat:(void (^ _Nonnull)(NSInteger, NSError* _Nullable))completionHandler
|
|
__attribute__((swift_async_name("getter:catto()")));
|
|
|
|
@end
|
|
|
|
void scheduleButt(Butt *b, NSString *s);
|