Skip to content

Commit

Permalink
Issue 22325: Darwin: MTRSetupPayload should move NSSecureCoding confo…
Browse files Browse the repository at this point in the history
…rmance to public header (#22328)
  • Loading branch information
jtung-apple authored Sep 1, 2022
1 parent e7486d2 commit 26bfa09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/darwin/Framework/CHIP/MTRSetupPayload.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ typedef NS_ENUM(NSUInteger, MTROptionalQRCodeInfoType) {
@property (nonatomic, copy) NSString * stringValue;
@end

@interface MTRSetupPayload : NSObject
@interface MTRSetupPayload : NSObject <NSSecureCoding>

@property (nonatomic, copy) NSNumber * version;
@property (nonatomic, copy) NSNumber * vendorID;
Expand Down
2 changes: 1 addition & 1 deletion src/darwin/Framework/CHIP/MTRSetupPayload_Internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#import <setup_payload/SetupPayload.h>
#endif

@interface MTRSetupPayload () <NSSecureCoding>
@interface MTRSetupPayload ()

#ifdef __cplusplus
- (id)initWithSetupPayload:(chip::SetupPayload)setupPayload;
Expand Down

0 comments on commit 26bfa09

Please sign in to comment.