ZXIBarcodeWriter.h 624 B

1234567891011121314151617181920212223
  1. // Copyright 2022 KURZ Digital Solutions GmbH
  2. //
  3. // SPDX-License-Identifier: Apache-2.0
  4. #import <Foundation/Foundation.h>
  5. #import "ZXIWriterOptions.h"
  6. NS_ASSUME_NONNULL_BEGIN
  7. @interface ZXIBarcodeWriter : NSObject
  8. @property(nonatomic, strong) ZXIWriterOptions *options;
  9. -(instancetype)initWithOptions:(ZXIWriterOptions*)options;
  10. -(nullable CGImageRef)writeString:(NSString *)contents
  11. error:(NSError *__autoreleasing _Nullable *)error;
  12. -(nullable CGImageRef)writeData:(NSData *)data
  13. error:(NSError *__autoreleasing _Nullable *)error;
  14. @end
  15. NS_ASSUME_NONNULL_END