Files
MacPass/MacPass/NSImage+MPQRCode.h
Michael Starke d601d6ed3f Refactored touchID codebase to be more in line with the rest.
Fixed a lot of potential memory leaks
Fixed all issues reported analyzer
2022-08-30 13:13:12 +02:00

23 lines
459 B
Objective-C

//
// NSImage+MPQRCode.h
// MacPass
//
// Created by Michael Starke on 10.12.20.
// Copyright © 2020 HicknHack Software GmbH. All rights reserved.
//
#import <Cocoa/Cocoa.h>
NS_ASSUME_NONNULL_BEGIN
@interface NSImage (MPQRCode)
@property (nonatomic, readonly, copy) NSString *QRCodeString;
+ (instancetype _Nullable)QRCodeImageWithString:(NSString *)string;
- (instancetype _Nullable)initWithCIImage:(CIImage *)ciImage;
@end
NS_ASSUME_NONNULL_END