Skip to content

Commit 03580f7

Browse files
committed
fix nullable warnings
Signed-off-by: Joseph Mattello <mail@joemattiello.com>
1 parent 18c0340 commit 03580f7

2 files changed

Lines changed: 3 additions & 7 deletions

File tree

AltSign/Model/Apple API/ALTCertificateRequest.h

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,11 @@
88

99
#import <Foundation/Foundation.h>
1010

11-
NS_ASSUME_NONNULL_BEGIN
12-
1311
@interface ALTCertificateRequest : NSObject
1412

15-
@property (nonatomic, copy, readonly) NSData *data;
16-
@property (nonatomic, copy, readonly) NSData *privateKey;
13+
@property (nonatomic, copy, readonly, nonnull) NSData *data;
14+
@property (nonatomic, copy, readonly, nonnull) NSData *privateKey;
1715

1816
- (nullable instancetype)init;
1917

2018
@end
21-
22-
NS_ASSUME_NONNULL_END

AltSign/Model/Apple API/ALTCertificateRequest.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
@implementation ALTCertificateRequest
1414

15-
- (instancetype)init
15+
- (nullable instancetype)init
1616
{
1717
self = [super init];
1818
if (self)

0 commit comments

Comments
 (0)