mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
We are dropping the getter and setter names we get from Objective-C. This leads to a runtime crash. Oops.
6 lines
147 B
Objective-C
6 lines
147 B
Objective-C
#import <Foundation/Foundation.h>
|
|
|
|
@protocol PowerProtocol <NSObject>
|
|
@property (nonatomic, getter=getPower, setter=setPower:) int64_t level;
|
|
@end
|