From 81edea79358cc3267567b42f7a39e5c1c25ea838 Mon Sep 17 00:00:00 2001 From: Jon Stevens Date: Fri, 5 Jul 2019 16:32:46 +0700 Subject: [PATCH] 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`. --- ios/Classes/BarcodeScanPlugin.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/Classes/BarcodeScanPlugin.h b/ios/Classes/BarcodeScanPlugin.h index 197399e..d6b1bab 100644 --- a/ios/Classes/BarcodeScanPlugin.h +++ b/ios/Classes/BarcodeScanPlugin.h @@ -9,6 +9,6 @@ @interface BarcodeScanPlugin : NSObject -@property(nonatomic, retain) FlutterResult result; +@property(nonatomic, copy) FlutterResult result; @property (nonatomic, assign) UIViewController *hostViewController; @end