mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-19 06:09:32 +00:00
23 lines
459 B
Objective-C
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
|