diff --git a/Example/YoonitFacefyDemo/Podfile.lock b/Example/YoonitFacefyDemo/Podfile.lock index b325cc4..8cfbf90 100644 --- a/Example/YoonitFacefyDemo/Podfile.lock +++ b/Example/YoonitFacefyDemo/Podfile.lock @@ -53,7 +53,7 @@ PODS: - PromisesObjC (1.2.12) - Protobuf (3.14.0) - YoonitCamera (2.3.0) - - YoonitFacefy (1.0.2): + - YoonitFacefy (1.0.3): - GoogleMLKit/FaceDetection DEPENDENCIES: @@ -94,7 +94,7 @@ SPEC CHECKSUMS: PromisesObjC: 3113f7f76903778cf4a0586bd1ab89329a0b7b97 Protobuf: 0cde852566359049847168e51bd1c690e0f70056 YoonitCamera: a25677c77bc14f22fc9efaffceff60b54cc32049 - YoonitFacefy: b627d9a94fa968d90a8b9915895cd5986d1630fa + YoonitFacefy: 6528f0432d1fb05add2a6d257318f160538337c1 PODFILE CHECKSUM: 45150530e3052be2fb55a1493c2f00eedc5c1d3b diff --git a/Example/YoonitFacefyDemo/Pods/Local Podspecs/YoonitFacefy.podspec.json b/Example/YoonitFacefyDemo/Pods/Local Podspecs/YoonitFacefy.podspec.json index 81ac524..a62c476 100644 --- a/Example/YoonitFacefyDemo/Pods/Local Podspecs/YoonitFacefy.podspec.json +++ b/Example/YoonitFacefyDemo/Pods/Local Podspecs/YoonitFacefy.podspec.json @@ -1,6 +1,6 @@ { "name": "YoonitFacefy", - "version": "1.0.2", + "version": "1.0.3", "summary": "The face detection's module for iOS with a lot of awesome features", "description": "\"The face detection's module for iOS with a lot of awesome features\"", "homepage": "https://github.com/Yoonit-Labs/ios-yoonit-facefy", @@ -18,7 +18,7 @@ }, "source": { "git": "https://github.com/Yoonit-Labs/ios-yoonit-facefy.git", - "tag": "1.0.2" + "tag": "1.0.3" }, "source_files": [ "YoonitFacefy/src/**/*", diff --git a/Example/YoonitFacefyDemo/Pods/Manifest.lock b/Example/YoonitFacefyDemo/Pods/Manifest.lock index b325cc4..8cfbf90 100644 --- a/Example/YoonitFacefyDemo/Pods/Manifest.lock +++ b/Example/YoonitFacefyDemo/Pods/Manifest.lock @@ -53,7 +53,7 @@ PODS: - PromisesObjC (1.2.12) - Protobuf (3.14.0) - YoonitCamera (2.3.0) - - YoonitFacefy (1.0.2): + - YoonitFacefy (1.0.3): - GoogleMLKit/FaceDetection DEPENDENCIES: @@ -94,7 +94,7 @@ SPEC CHECKSUMS: PromisesObjC: 3113f7f76903778cf4a0586bd1ab89329a0b7b97 Protobuf: 0cde852566359049847168e51bd1c690e0f70056 YoonitCamera: a25677c77bc14f22fc9efaffceff60b54cc32049 - YoonitFacefy: b627d9a94fa968d90a8b9915895cd5986d1630fa + YoonitFacefy: 6528f0432d1fb05add2a6d257318f160538337c1 PODFILE CHECKSUM: 45150530e3052be2fb55a1493c2f00eedc5c1d3b diff --git a/YoonitFacefy.podspec b/YoonitFacefy.podspec index fb2880e..8853bb5 100644 --- a/YoonitFacefy.podspec +++ b/YoonitFacefy.podspec @@ -9,7 +9,7 @@ Pod::Spec.new do |spec| # spec.name = "YoonitFacefy" - spec.version = "1.0.2" + spec.version = "1.0.3" spec.summary = "The face detection's module for iOS with a lot of awesome features" # This description is used to generate tags and improve search results. diff --git a/YoonitFacefy.xcodeproj/project.pbxproj b/YoonitFacefy.xcodeproj/project.pbxproj index 7c22102..18b8988 100644 --- a/YoonitFacefy.xcodeproj/project.pbxproj +++ b/YoonitFacefy.xcodeproj/project.pbxproj @@ -422,7 +422,7 @@ "@executable_path/Frameworks", "@loader_path/Frameworks", ); - MARKETING_VERSION = 1.0.2; + MARKETING_VERSION = 1.0.3; PRODUCT_BUNDLE_IDENTIFIER = ai.cyberlabs.YoonitFacefy; PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; SKIP_INSTALL = YES; @@ -452,7 +452,7 @@ "@executable_path/Frameworks", "@loader_path/Frameworks", ); - MARKETING_VERSION = 1.0.2; + MARKETING_VERSION = 1.0.3; PRODUCT_BUNDLE_IDENTIFIER = ai.cyberlabs.YoonitFacefy; PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; SKIP_INSTALL = YES; diff --git a/YoonitFacefy/src/Facefy.swift b/YoonitFacefy/src/Facefy.swift index 7928941..53c3c04 100644 --- a/YoonitFacefy/src/Facefy.swift +++ b/YoonitFacefy/src/Facefy.swift @@ -13,10 +13,11 @@ import Foundation import UIKit import Vision -@objc -public class Facefy: NSObject { +public class Facefy { - var facefyController = FacefyController() + private var facefyController = FacefyController() + + public init() {} public func detect( _ image: UIImage,