From 18135aa803d083d6da90782ce88749386f62588f Mon Sep 17 00:00:00 2001 From: Dmitriy Dotsenko Date: Fri, 27 Dec 2019 18:00:18 +0300 Subject: [PATCH] fixed delegate --- DDPinCodeDecorator.xcodeproj/project.pbxproj | 2 ++ .../Action.xcuserdatad/xcschemes/xcschememanagement.plist | 2 +- .../DDPinCodeDecoratorExample.xcodeproj/project.pbxproj | 2 ++ PinCodeDecorator/DDPinCodeDecorator.swift | 2 +- 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/DDPinCodeDecorator.xcodeproj/project.pbxproj b/DDPinCodeDecorator.xcodeproj/project.pbxproj index 806bb70..583357e 100644 --- a/DDPinCodeDecorator.xcodeproj/project.pbxproj +++ b/DDPinCodeDecorator.xcodeproj/project.pbxproj @@ -307,6 +307,7 @@ DYLIB_INSTALL_NAME_BASE = "@rpath"; INFOPLIST_FILE = PinCodeDecorator/Info.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 10.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -333,6 +334,7 @@ DYLIB_INSTALL_NAME_BASE = "@rpath"; INFOPLIST_FILE = PinCodeDecorator/Info.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 10.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", diff --git a/DDPinCodeDecorator.xcodeproj/xcuserdata/Action.xcuserdatad/xcschemes/xcschememanagement.plist b/DDPinCodeDecorator.xcodeproj/xcuserdata/Action.xcuserdatad/xcschemes/xcschememanagement.plist index 2567473..cceeaf7 100644 --- a/DDPinCodeDecorator.xcodeproj/xcuserdata/Action.xcuserdatad/xcschemes/xcschememanagement.plist +++ b/DDPinCodeDecorator.xcodeproj/xcuserdata/Action.xcuserdatad/xcschemes/xcschememanagement.plist @@ -7,7 +7,7 @@ DDPinCodeDecorator.xcscheme_^#shared#^_ orderHint - 0 + 1 PinCodeDecorator.xcscheme_^#shared#^_ diff --git a/Example/PinCodeDecoratorExample/DDPinCodeDecoratorExample.xcodeproj/project.pbxproj b/Example/PinCodeDecoratorExample/DDPinCodeDecoratorExample.xcodeproj/project.pbxproj index b85c300..011a65f 100644 --- a/Example/PinCodeDecoratorExample/DDPinCodeDecoratorExample.xcodeproj/project.pbxproj +++ b/Example/PinCodeDecoratorExample/DDPinCodeDecoratorExample.xcodeproj/project.pbxproj @@ -349,6 +349,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_STYLE = Automatic; INFOPLIST_FILE = PinCodeDecoratorExample/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 10.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -366,6 +367,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_STYLE = Automatic; INFOPLIST_FILE = PinCodeDecoratorExample/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 10.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", diff --git a/PinCodeDecorator/DDPinCodeDecorator.swift b/PinCodeDecorator/DDPinCodeDecorator.swift index 37e0f87..bac7c73 100644 --- a/PinCodeDecorator/DDPinCodeDecorator.swift +++ b/PinCodeDecorator/DDPinCodeDecorator.swift @@ -161,7 +161,7 @@ public class DDPinCodeDecorator: DDPinCodeDecoratorProtocol, DDPinCodeDecoratorV return self._view } } - open var delegate: DDPinCodeDecoratorOutput? + open weak var delegate: DDPinCodeDecoratorOutput? open var resultString: String = "" { didSet { print(self.resultString)