Files
MacPass/MacPass/NSImage+MPQRCode.h
2021-01-08 09:07:30 +01:00

23 lines
439 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)QRCodeImageWithString:(NSString *)string;
- (instancetype)initWithCIImage:(CIImage *)ciImage;
@end
NS_ASSUME_NONNULL_END