fix compile warning

https://stackoverflow.com/questions/18039275/retained-block-property-does-not-copy-the-block-use-copy-attribute-instead

"Retain'ed block property does not copy the block - use copy attribute instead"

Not sure if this should be `copy` or `strong`.
This commit is contained in:
Jon Stevens 2019-07-05 16:32:46 +07:00 committed by GitHub
parent 42714900ca
commit 81edea7935
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,6 +9,6 @@
@interface BarcodeScanPlugin : NSObject<FlutterPlugin, BarcodeScannerViewControllerDelegate> @interface BarcodeScanPlugin : NSObject<FlutterPlugin, BarcodeScannerViewControllerDelegate>
@property(nonatomic, retain) FlutterResult result; @property(nonatomic, copy) FlutterResult result;
@property (nonatomic, assign) UIViewController *hostViewController; @property (nonatomic, assign) UIViewController *hostViewController;
@end @end