Use instancetype for the benchmark and SwiftNativeNSObject

This is more for consistency than anything else, really.
This commit is contained in:
Rose
2024-09-04 13:05:49 -04:00
parent 736faacbde
commit 7f2787e249
4 changed files with 5 additions and 5 deletions

View File

@@ -23,7 +23,7 @@ NS_ASSUME_NONNULL_BEGIN
NSArray<NSString *> *bridgedStrings;
}
- (id)init;
- (instancetype)init NS_DESIGNATED_INITIALIZER;
- (void)setUpStringTests:(NSArray<NSString *> *)bridgedStrings;
- (void)testFromString:(NSString *) str;
- (NSString *)testToString;

View File

@@ -102,7 +102,7 @@
@implementation BridgeTester
- (id)init {
- (instancetype)init {
self = [super init];
if (!self)
return self;