From 9bf96cb5a65376cf9ec0a827b66e9699205b38f9 Mon Sep 17 00:00:00 2001 From: Mohammadz74 Date: Fri, 8 Nov 2019 14:34:00 +0330 Subject: [PATCH 1/4] added support for Swift package manager --- .../contents.xcworkspacedata | 7 +++++ DynamicBlurView.podspec | 2 +- Package.swift | 31 +++++++++++++++++++ .../DynamicBlurView}/BlurLayer.swift | 0 .../DynamicBlurView}/CGContext+CGImage.swift | 2 ++ .../DynamicBlurView}/CGImage+Accelerate.swift | 1 + .../DynamicBlurView}/CaptureQuality.swift | 2 ++ .../DynamicBlurView}/DynamicBlurView.h | 0 .../DynamicBlurView}/DynamicBlurView.swift | 0 .../DynamicBlurView}/Info.plist | 0 .../DynamicBlurView}/TrackingMode.swift | 2 ++ .../DynamicBlurView}/UIImage+Blur.swift | 2 ++ .../XCTestManifests.swift | 9 ++++++ Tests/LinuxMain.swift | 7 +++++ 14 files changed, 64 insertions(+), 1 deletion(-) create mode 100644 .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata create mode 100644 Package.swift rename {DynamicBlurView => Sources/DynamicBlurView}/BlurLayer.swift (100%) rename {DynamicBlurView => Sources/DynamicBlurView}/CGContext+CGImage.swift (98%) rename {DynamicBlurView => Sources/DynamicBlurView}/CGImage+Accelerate.swift (99%) rename {DynamicBlurView => Sources/DynamicBlurView}/CaptureQuality.swift (97%) rename {DynamicBlurView => Sources/DynamicBlurView}/DynamicBlurView.h (100%) rename {DynamicBlurView => Sources/DynamicBlurView}/DynamicBlurView.swift (100%) rename {DynamicBlurView => Sources/DynamicBlurView}/Info.plist (100%) rename {DynamicBlurView => Sources/DynamicBlurView}/TrackingMode.swift (97%) rename {DynamicBlurView => Sources/DynamicBlurView}/UIImage+Blur.swift (98%) create mode 100644 Tests/DynamicBlurViewTests/XCTestManifests.swift create mode 100644 Tests/LinuxMain.swift diff --git a/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata b/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/DynamicBlurView.podspec b/DynamicBlurView.podspec index bbc60a5..76a52d4 100644 --- a/DynamicBlurView.podspec +++ b/DynamicBlurView.podspec @@ -9,7 +9,7 @@ Pod::Spec.new do |s| s.ios.deployment_target = '8.0' s.tvos.deployment_target = '9.0' s.source = { :git => "https://github.com/KyoheiG3/DynamicBlurView.git", :tag => s.version.to_s } - s.source_files = "DynamicBlurView/**/*.{h,swift}" + s.source_files = "Sources/DynamicBlurView/**/*.{h,swift}" s.requires_arc = true s.frameworks = "UIKit", "Accelerate" end diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..068f97f --- /dev/null +++ b/Package.swift @@ -0,0 +1,31 @@ +// swift-tools-version:5.0 +// The swift-tools-version declares the minimum version of Swift required to build this package. + +import PackageDescription + +let package = Package( + name: "DynamicBlurView", + platforms: [ + .iOS(.v8), + ], + products: [ + // Products define the executables and libraries produced by a package, and make them visible to other packages. + .library( + name: "DynamicBlurView", + targets: ["DynamicBlurView"]), + ], + dependencies: [ + // Dependencies declare other packages that this package depends on. + // .package(url: /* package url */, from: "1.0.0"), + ], + targets: [ + // Targets are the basic building blocks of a package. A target can define a module or a test suite. + // Targets can depend on other targets in this package, and on products in packages which this package depends on. + .target( + name: "DynamicBlurView", + dependencies: []), + .testTarget( + name: "DynamicBlurViewTests", + dependencies: ["DynamicBlurView"]), + ] +) diff --git a/DynamicBlurView/BlurLayer.swift b/Sources/DynamicBlurView/BlurLayer.swift similarity index 100% rename from DynamicBlurView/BlurLayer.swift rename to Sources/DynamicBlurView/BlurLayer.swift diff --git a/DynamicBlurView/CGContext+CGImage.swift b/Sources/DynamicBlurView/CGContext+CGImage.swift similarity index 98% rename from DynamicBlurView/CGContext+CGImage.swift rename to Sources/DynamicBlurView/CGContext+CGImage.swift index 548586a..84808b2 100644 --- a/DynamicBlurView/CGContext+CGImage.swift +++ b/Sources/DynamicBlurView/CGContext+CGImage.swift @@ -6,6 +6,8 @@ // Copyright © 2017年 kyohei_ito. All rights reserved. // +import UIKit + extension CGContext { static func imageContext(with quality: CaptureQuality, rect: CGRect, opaque: Bool) -> CGContext? { UIGraphicsBeginImageContextWithOptions(rect.size, opaque, quality.imageScale) diff --git a/DynamicBlurView/CGImage+Accelerate.swift b/Sources/DynamicBlurView/CGImage+Accelerate.swift similarity index 99% rename from DynamicBlurView/CGImage+Accelerate.swift rename to Sources/DynamicBlurView/CGImage+Accelerate.swift index 7126c71..7931e31 100644 --- a/DynamicBlurView/CGImage+Accelerate.swift +++ b/Sources/DynamicBlurView/CGImage+Accelerate.swift @@ -7,6 +7,7 @@ // import Accelerate +import UIKit extension CGImage { var area: Int { diff --git a/DynamicBlurView/CaptureQuality.swift b/Sources/DynamicBlurView/CaptureQuality.swift similarity index 97% rename from DynamicBlurView/CaptureQuality.swift rename to Sources/DynamicBlurView/CaptureQuality.swift index 7a8c57b..0cb492a 100644 --- a/DynamicBlurView/CaptureQuality.swift +++ b/Sources/DynamicBlurView/CaptureQuality.swift @@ -6,6 +6,8 @@ // Copyright © 2017年 kyohei_ito. All rights reserved. // +import UIKit + public enum CaptureQuality { case `default` case low diff --git a/DynamicBlurView/DynamicBlurView.h b/Sources/DynamicBlurView/DynamicBlurView.h similarity index 100% rename from DynamicBlurView/DynamicBlurView.h rename to Sources/DynamicBlurView/DynamicBlurView.h diff --git a/DynamicBlurView/DynamicBlurView.swift b/Sources/DynamicBlurView/DynamicBlurView.swift similarity index 100% rename from DynamicBlurView/DynamicBlurView.swift rename to Sources/DynamicBlurView/DynamicBlurView.swift diff --git a/DynamicBlurView/Info.plist b/Sources/DynamicBlurView/Info.plist similarity index 100% rename from DynamicBlurView/Info.plist rename to Sources/DynamicBlurView/Info.plist diff --git a/DynamicBlurView/TrackingMode.swift b/Sources/DynamicBlurView/TrackingMode.swift similarity index 97% rename from DynamicBlurView/TrackingMode.swift rename to Sources/DynamicBlurView/TrackingMode.swift index b9e29f0..a61a78d 100644 --- a/DynamicBlurView/TrackingMode.swift +++ b/Sources/DynamicBlurView/TrackingMode.swift @@ -6,6 +6,8 @@ // Copyright © 2017年 kyohei_ito. All rights reserved. // +import UIKit + public enum TrackingMode: CustomStringConvertible { case tracking case common diff --git a/DynamicBlurView/UIImage+Blur.swift b/Sources/DynamicBlurView/UIImage+Blur.swift similarity index 98% rename from DynamicBlurView/UIImage+Blur.swift rename to Sources/DynamicBlurView/UIImage+Blur.swift index de1306b..324aa91 100644 --- a/DynamicBlurView/UIImage+Blur.swift +++ b/Sources/DynamicBlurView/UIImage+Blur.swift @@ -6,6 +6,8 @@ // Copyright © 2017年 kyohei_ito. All rights reserved. // +import UIKit + public extension UIImage { func blurred(radius: CGFloat, iterations: Int, ratio: CGFloat, blendColor color: UIColor?, blendMode mode: CGBlendMode) -> UIImage? { guard let cgImage = cgImage else { diff --git a/Tests/DynamicBlurViewTests/XCTestManifests.swift b/Tests/DynamicBlurViewTests/XCTestManifests.swift new file mode 100644 index 0000000..529ed46 --- /dev/null +++ b/Tests/DynamicBlurViewTests/XCTestManifests.swift @@ -0,0 +1,9 @@ +import XCTest + +#if !canImport(ObjectiveC) +public func allTests() -> [XCTestCaseEntry] { + return [ + testCase(DynamicBlurViewTests.allTests), + ] +} +#endif diff --git a/Tests/LinuxMain.swift b/Tests/LinuxMain.swift new file mode 100644 index 0000000..647e793 --- /dev/null +++ b/Tests/LinuxMain.swift @@ -0,0 +1,7 @@ +import XCTest + +import DynamicBlurViewTests + +var tests = [XCTestCaseEntry]() +tests += DynamicBlurViewTests.allTests() +XCTMain(tests) From e09585bf9e347a48e1b28a3c2dbcd01ca707d70d Mon Sep 17 00:00:00 2001 From: Mohammadz74 Date: Fri, 8 Nov 2019 14:50:57 +0330 Subject: [PATCH 2/4] added support for swift package manager --- .build/manifest.db | Bin 0 -> 24576 bytes .../DynamicBlurViewTests_Info.plist | 25 + .../DynamicBlurView_Info.plist | 25 + DynamicBlurView.xcodeproj/project.pbxproj | 1134 ++++++++++------- .../contents.xcworkspacedata | 4 +- .../xcshareddata/WorkspaceSettings.xcsettings | 8 + .../DynamicBlurView-Package.xcscheme | 81 ++ 7 files changed, 796 insertions(+), 481 deletions(-) create mode 100644 .build/manifest.db create mode 100644 DynamicBlurView.xcodeproj/DynamicBlurViewTests_Info.plist create mode 100644 DynamicBlurView.xcodeproj/DynamicBlurView_Info.plist create mode 100644 DynamicBlurView.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings create mode 100644 DynamicBlurView.xcodeproj/xcshareddata/xcschemes/DynamicBlurView-Package.xcscheme diff --git a/.build/manifest.db b/.build/manifest.db new file mode 100644 index 0000000000000000000000000000000000000000..2e469b99ea24c628e61cf5161a17aa876cfd66c6 GIT binary patch literal 24576 zcmeI4&2J*f6~G&V?eS{HP86*ysv0nOZ13!8cB5*!O?|xg>b+l87cLh? z^HtUK5!-d#zV5SW=0{8Sp{||**xLR=8T3F8-HbY)X{8evG^cyBFORBL+R zJ0!2oOlsmRiI>ukaBp8lRyRNYJaTzR%{^%W>uCbE6) zgL3f7)%`iq7f--}$i_De{LqUMpaduZN`Mle1SkPYfD)htC;>`<5}*YB&j_qA%S`0a z+8SQ}#~%NMS^xX`)p`{Y^r8eP0ZM=ppaduZN`Mle1SkPY;L{O!|Fc+(`Rdgb*MSXb zZtFx$rTMhPi$b2y=Xg;RAen(X1-A%!NQ+rs&Q7u*iHop^h^qyxoRNtMQRXwmm?VYy zRA>_Gl9Es^pW>w)FJlYX61Ear4J)uG#5U+)k8pP4oB+0Bu(#Nz058~; zG~6ODg)N98uE9zG7CghqQ<>L1hd%_sZE<_LZFZ68R~^06z(wPDG|K1;-L#-kcO3(H zo?;I}ad9cinD>h}&&{r1-#ZNVwnLS7wMdNl@{0u}?3YOU?W6mxY+9%SA14Tjeg@BV z?D5yk`ri8Q9)G?5k5BiQ)0Qa#N`Mle1SkPYfD)htC;>`<5@4A3KaYL&D)PaikFNju z@7MZ2mWb+$-Spu4Kbne~4~XBj{$F}mi+%aU+6O~{uKz#&|2B*3f3p9-@;7E9*x3E- z&yb)OB|r&K0+awH@I52&`)+KN`QuO5)_!@#d4Yj96JR@tyHdG(ghqCG>vU5a1Tv%u5zzI0iPiR z;X7(?tZDwmAQZC9wyV1rDhHL5Lfr5eTQWwY`~C9pUdOb0vg3iBym5PIc3>l9uIQ{+ zbnLF#yD6HB24Z{A^Z5gnVBiEh=sAH4NN?-`tdD4Qp!=tDIzihqja{T;Z|e(HXk=JH z2ZJKb&7irc7g)Nha%27hw_C8&1ipcvw|&R`IPHKo?n7t-#O{xubjPQP)`vJCR1Exf zAm2XTEZxUn)P(y8q9zAvF-}MiCRJh0EOyfY*)g;=ISIO`sB&^bAh7g-2~{8_ldKmE z2967-aOZ~N3Djobp%@e2rwY?{!>)N)58Obm>yS}=@_G!WqLT>*f72Acrr#*_2O+x3 z{OPxAYmcuuWDg-)PJRzy<1*2i?wR4flcj`MyCg;et}V07t<=$HLP# z&fd`*(6w7Py$s2@0xwKYUYvoiCXYmsh+uQy%^z@bak>W+&C<(8t=1x86`;FKgB+EH zD2@!LgIG~Wr13aVlQ8r8VSFVtM3yr^Ff8k{r!%>y8@1+9V)}4EV>e>Z3Rny!z@jK6 zyv`YJT`3+kDy`!tbYrEqPkLUIvw9ZS?JCtO@r#W8OYf8vRu6HZh||qot#HuV)ta^9 zOCtDfBe++s_ePbSV>_)TtELCxzz79PEv2ys21amDydO_xvW8MmbR62JYCAB<5F3W;stp-7Z;0#a#1MA zk}NA&aj#yg;6bA%hwv7W>^c^C8%&;Gs>%G>@cd1;^G1>`Wv?yfdvCo{>s*orxOy-} zwA3V+z;go_SRCX>^`cg;7IyF`4`&Bl0+NT7qM}Wn3;YECrWsBdcMbD|a~kho#Bpzo z$G=!wVGhZJHJNI`awZ`p1ok9dY{x@}V|U;w8C^au}8}JF2@#`_!|KIo*v+>`J|7`pl67-@3C;>`<5}*Vq0ZM=p jpaduZN`Mle1So+YFoET0Bod3^-_a=ky|fgKuC4tK2@y~* literal 0 HcmV?d00001 diff --git a/DynamicBlurView.xcodeproj/DynamicBlurViewTests_Info.plist b/DynamicBlurView.xcodeproj/DynamicBlurViewTests_Info.plist new file mode 100644 index 0000000..7c23420 --- /dev/null +++ b/DynamicBlurView.xcodeproj/DynamicBlurViewTests_Info.plist @@ -0,0 +1,25 @@ + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + $(CURRENT_PROJECT_VERSION) + NSPrincipalClass + + + diff --git a/DynamicBlurView.xcodeproj/DynamicBlurView_Info.plist b/DynamicBlurView.xcodeproj/DynamicBlurView_Info.plist new file mode 100644 index 0000000..57ada9f --- /dev/null +++ b/DynamicBlurView.xcodeproj/DynamicBlurView_Info.plist @@ -0,0 +1,25 @@ + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + $(CURRENT_PROJECT_VERSION) + NSPrincipalClass + + + diff --git a/DynamicBlurView.xcodeproj/project.pbxproj b/DynamicBlurView.xcodeproj/project.pbxproj index dd0a16f..d19d042 100644 --- a/DynamicBlurView.xcodeproj/project.pbxproj +++ b/DynamicBlurView.xcodeproj/project.pbxproj @@ -1,482 +1,658 @@ // !$*UTF8*$! { - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - C71401761F3E894A00F41421 /* UIImage+Blur.swift in Sources */ = {isa = PBXBuildFile; fileRef = C71401751F3E894A00F41421 /* UIImage+Blur.swift */; }; - C714017D1F426E8700F41421 /* BlurLayer.swift in Sources */ = {isa = PBXBuildFile; fileRef = C714017C1F426E8600F41421 /* BlurLayer.swift */; }; - C73390791F46721A00617D26 /* CGImage+Accelerate.swift in Sources */ = {isa = PBXBuildFile; fileRef = C73390781F46721800617D26 /* CGImage+Accelerate.swift */; }; - C733907B1F467D2B00617D26 /* CaptureQuality.swift in Sources */ = {isa = PBXBuildFile; fileRef = C733907A1F467D2B00617D26 /* CaptureQuality.swift */; }; - C733907D1F467E0700617D26 /* TrackingMode.swift in Sources */ = {isa = PBXBuildFile; fileRef = C733907C1F467E0700617D26 /* TrackingMode.swift */; }; - C733907F1F467E7100617D26 /* CGContext+CGImage.swift in Sources */ = {isa = PBXBuildFile; fileRef = C733907E1F467E7100617D26 /* CGContext+CGImage.swift */; }; - C7F3104F1AD572FB006D95AD /* DynamicBlurView.h in Headers */ = {isa = PBXBuildFile; fileRef = C7F3104E1AD572FB006D95AD /* DynamicBlurView.h */; settings = {ATTRIBUTES = (Public, ); }; }; - C7F310551AD572FB006D95AD /* DynamicBlurView.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C7F310491AD572FB006D95AD /* DynamicBlurView.framework */; }; - C7F3105C1AD572FB006D95AD /* DynamicBlurViewTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = C7F3105B1AD572FB006D95AD /* DynamicBlurViewTests.swift */; }; - C7F310661AD573D5006D95AD /* DynamicBlurView.swift in Sources */ = {isa = PBXBuildFile; fileRef = C7F310651AD573D5006D95AD /* DynamicBlurView.swift */; }; - DFC8C8AD1FD842E9000E0B88 /* cat.jpg in Resources */ = {isa = PBXBuildFile; fileRef = DFC8C8AC1FD842E9000E0B88 /* cat.jpg */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - C7F310561AD572FB006D95AD /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = C7F310401AD572FB006D95AD /* Project object */; - proxyType = 1; - remoteGlobalIDString = C7F310481AD572FB006D95AD; - remoteInfo = DynamicBlurView; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXFileReference section */ - C71401751F3E894A00F41421 /* UIImage+Blur.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "UIImage+Blur.swift"; sourceTree = ""; }; - C714017C1F426E8600F41421 /* BlurLayer.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BlurLayer.swift; sourceTree = ""; }; - C73390781F46721800617D26 /* CGImage+Accelerate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "CGImage+Accelerate.swift"; sourceTree = ""; }; - C733907A1F467D2B00617D26 /* CaptureQuality.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CaptureQuality.swift; sourceTree = ""; }; - C733907C1F467E0700617D26 /* TrackingMode.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TrackingMode.swift; sourceTree = ""; }; - C733907E1F467E7100617D26 /* CGContext+CGImage.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "CGContext+CGImage.swift"; sourceTree = ""; }; - C7F310491AD572FB006D95AD /* DynamicBlurView.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = DynamicBlurView.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - C7F3104D1AD572FB006D95AD /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - C7F3104E1AD572FB006D95AD /* DynamicBlurView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DynamicBlurView.h; sourceTree = ""; }; - C7F310541AD572FB006D95AD /* DynamicBlurViewTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = DynamicBlurViewTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - C7F3105A1AD572FB006D95AD /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - C7F3105B1AD572FB006D95AD /* DynamicBlurViewTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DynamicBlurViewTests.swift; sourceTree = ""; }; - C7F310651AD573D5006D95AD /* DynamicBlurView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DynamicBlurView.swift; sourceTree = ""; }; - DFC8C8AC1FD842E9000E0B88 /* cat.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = cat.jpg; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - C7F310451AD572FB006D95AD /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - C7F310511AD572FB006D95AD /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - C7F310551AD572FB006D95AD /* DynamicBlurView.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - C7F3103F1AD572FB006D95AD = { - isa = PBXGroup; - children = ( - C7F3104B1AD572FB006D95AD /* DynamicBlurView */, - C7F310581AD572FB006D95AD /* DynamicBlurViewTests */, - C7F3104A1AD572FB006D95AD /* Products */, - ); - sourceTree = ""; - }; - C7F3104A1AD572FB006D95AD /* Products */ = { - isa = PBXGroup; - children = ( - C7F310491AD572FB006D95AD /* DynamicBlurView.framework */, - C7F310541AD572FB006D95AD /* DynamicBlurViewTests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - C7F3104B1AD572FB006D95AD /* DynamicBlurView */ = { - isa = PBXGroup; - children = ( - C714017C1F426E8600F41421 /* BlurLayer.swift */, - C733907A1F467D2B00617D26 /* CaptureQuality.swift */, - C733907E1F467E7100617D26 /* CGContext+CGImage.swift */, - C73390781F46721800617D26 /* CGImage+Accelerate.swift */, - C7F3104E1AD572FB006D95AD /* DynamicBlurView.h */, - C7F310651AD573D5006D95AD /* DynamicBlurView.swift */, - C733907C1F467E0700617D26 /* TrackingMode.swift */, - C71401751F3E894A00F41421 /* UIImage+Blur.swift */, - C7F3104C1AD572FB006D95AD /* Supporting Files */, - ); - path = DynamicBlurView; - sourceTree = ""; - }; - C7F3104C1AD572FB006D95AD /* Supporting Files */ = { - isa = PBXGroup; - children = ( - C7F3104D1AD572FB006D95AD /* Info.plist */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; - C7F310581AD572FB006D95AD /* DynamicBlurViewTests */ = { - isa = PBXGroup; - children = ( - DFC8C8AC1FD842E9000E0B88 /* cat.jpg */, - C7F3105B1AD572FB006D95AD /* DynamicBlurViewTests.swift */, - C7F310591AD572FB006D95AD /* Supporting Files */, - ); - path = DynamicBlurViewTests; - sourceTree = ""; - }; - C7F310591AD572FB006D95AD /* Supporting Files */ = { - isa = PBXGroup; - children = ( - C7F3105A1AD572FB006D95AD /* Info.plist */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXHeadersBuildPhase section */ - C7F310461AD572FB006D95AD /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - C7F3104F1AD572FB006D95AD /* DynamicBlurView.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXHeadersBuildPhase section */ - -/* Begin PBXNativeTarget section */ - C7F310481AD572FB006D95AD /* DynamicBlurView */ = { - isa = PBXNativeTarget; - buildConfigurationList = C7F3105F1AD572FB006D95AD /* Build configuration list for PBXNativeTarget "DynamicBlurView" */; - buildPhases = ( - C7F310441AD572FB006D95AD /* Sources */, - C7F310451AD572FB006D95AD /* Frameworks */, - C7F310461AD572FB006D95AD /* Headers */, - C7F310471AD572FB006D95AD /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = DynamicBlurView; - productName = DynamicBlurView; - productReference = C7F310491AD572FB006D95AD /* DynamicBlurView.framework */; - productType = "com.apple.product-type.framework"; - }; - C7F310531AD572FB006D95AD /* DynamicBlurViewTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = C7F310621AD572FB006D95AD /* Build configuration list for PBXNativeTarget "DynamicBlurViewTests" */; - buildPhases = ( - C7F310501AD572FB006D95AD /* Sources */, - C7F310511AD572FB006D95AD /* Frameworks */, - C7F310521AD572FB006D95AD /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - C7F310571AD572FB006D95AD /* PBXTargetDependency */, - ); - name = DynamicBlurViewTests; - productName = DynamicBlurViewTests; - productReference = C7F310541AD572FB006D95AD /* DynamicBlurViewTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - C7F310401AD572FB006D95AD /* Project object */ = { - isa = PBXProject; - attributes = { - LastSwiftMigration = 0700; - LastSwiftUpdateCheck = 0700; - LastUpgradeCheck = 1020; - ORGANIZATIONNAME = kyohei_ito; - TargetAttributes = { - C7F310481AD572FB006D95AD = { - CreatedOnToolsVersion = 6.2; - LastSwiftMigration = 1020; - }; - C7F310531AD572FB006D95AD = { - CreatedOnToolsVersion = 6.2; - LastSwiftMigration = 1020; - }; - }; - }; - buildConfigurationList = C7F310431AD572FB006D95AD /* Build configuration list for PBXProject "DynamicBlurView" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = C7F3103F1AD572FB006D95AD; - productRefGroup = C7F3104A1AD572FB006D95AD /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - C7F310481AD572FB006D95AD /* DynamicBlurView */, - C7F310531AD572FB006D95AD /* DynamicBlurViewTests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - C7F310471AD572FB006D95AD /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - C7F310521AD572FB006D95AD /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - DFC8C8AD1FD842E9000E0B88 /* cat.jpg in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - C7F310441AD572FB006D95AD /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - C73390791F46721A00617D26 /* CGImage+Accelerate.swift in Sources */, - C733907D1F467E0700617D26 /* TrackingMode.swift in Sources */, - C733907B1F467D2B00617D26 /* CaptureQuality.swift in Sources */, - C733907F1F467E7100617D26 /* CGContext+CGImage.swift in Sources */, - C714017D1F426E8700F41421 /* BlurLayer.swift in Sources */, - C71401761F3E894A00F41421 /* UIImage+Blur.swift in Sources */, - C7F310661AD573D5006D95AD /* DynamicBlurView.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - C7F310501AD572FB006D95AD /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - C7F3105C1AD572FB006D95AD /* DynamicBlurViewTests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - C7F310571AD572FB006D95AD /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = C7F310481AD572FB006D95AD /* DynamicBlurView */; - targetProxy = C7F310561AD572FB006D95AD /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin XCBuildConfiguration section */ - C7F3105D1AD572FB006D95AD /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 1; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 4.2; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - C7F3105E1AD572FB006D95AD /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 1; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_VERSION = 4.2; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - C7F310601AD572FB006D95AD /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_ENABLE_MODULES = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = DynamicBlurView/Info.plist; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "com.kyoheiito.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SKIP_INSTALL = YES; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - }; - name = Debug; - }; - C7F310611AD572FB006D95AD /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_ENABLE_MODULES = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = DynamicBlurView/Info.plist; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "com.kyoheiito.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SKIP_INSTALL = YES; - SWIFT_VERSION = 5.0; - }; - name = Release; - }; - C7F310631AD572FB006D95AD /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - INFOPLIST_FILE = DynamicBlurViewTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "com.kyoheiito.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - }; - name = Debug; - }; - C7F310641AD572FB006D95AD /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - INFOPLIST_FILE = DynamicBlurViewTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "com.kyoheiito.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - C7F310431AD572FB006D95AD /* Build configuration list for PBXProject "DynamicBlurView" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - C7F3105D1AD572FB006D95AD /* Debug */, - C7F3105E1AD572FB006D95AD /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - C7F3105F1AD572FB006D95AD /* Build configuration list for PBXNativeTarget "DynamicBlurView" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - C7F310601AD572FB006D95AD /* Debug */, - C7F310611AD572FB006D95AD /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - C7F310621AD572FB006D95AD /* Build configuration list for PBXNativeTarget "DynamicBlurViewTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - C7F310631AD572FB006D95AD /* Debug */, - C7F310641AD572FB006D95AD /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = C7F310401AD572FB006D95AD /* Project object */; + archiveVersion = "1"; + objectVersion = "46"; + objects = { + "DynamicBlurView::DynamicBlurView" = { + isa = "PBXNativeTarget"; + buildConfigurationList = "OBJ_30"; + buildPhases = ( + "OBJ_33", + "OBJ_41" + ); + dependencies = ( + ); + name = "DynamicBlurView"; + productName = "DynamicBlurView"; + productReference = "DynamicBlurView::DynamicBlurView::Product"; + productType = "com.apple.product-type.framework"; + }; + "DynamicBlurView::DynamicBlurView::Product" = { + isa = "PBXFileReference"; + path = "DynamicBlurView.framework"; + sourceTree = "BUILT_PRODUCTS_DIR"; + }; + "DynamicBlurView::DynamicBlurViewPackageTests::ProductTarget" = { + isa = "PBXAggregateTarget"; + buildConfigurationList = "OBJ_49"; + buildPhases = ( + ); + dependencies = ( + "OBJ_52" + ); + name = "DynamicBlurViewPackageTests"; + productName = "DynamicBlurViewPackageTests"; + }; + "DynamicBlurView::DynamicBlurViewTests" = { + isa = "PBXNativeTarget"; + buildConfigurationList = "OBJ_54"; + buildPhases = ( + "OBJ_57", + "OBJ_59" + ); + dependencies = ( + "OBJ_61" + ); + name = "DynamicBlurViewTests"; + productName = "DynamicBlurViewTests"; + productReference = "DynamicBlurView::DynamicBlurViewTests::Product"; + productType = "com.apple.product-type.bundle.unit-test"; + }; + "DynamicBlurView::DynamicBlurViewTests::Product" = { + isa = "PBXFileReference"; + path = "DynamicBlurViewTests.xctest"; + sourceTree = "BUILT_PRODUCTS_DIR"; + }; + "DynamicBlurView::SwiftPMPackageDescription" = { + isa = "PBXNativeTarget"; + buildConfigurationList = "OBJ_43"; + buildPhases = ( + "OBJ_46" + ); + dependencies = ( + ); + name = "DynamicBlurViewPackageDescription"; + productName = "DynamicBlurViewPackageDescription"; + productType = "com.apple.product-type.framework"; + }; + "OBJ_1" = { + isa = "PBXProject"; + attributes = { + LastSwiftMigration = "9999"; + LastUpgradeCheck = "9999"; + }; + buildConfigurationList = "OBJ_2"; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = "English"; + hasScannedForEncodings = "0"; + knownRegions = ( + "en" + ); + mainGroup = "OBJ_5"; + productRefGroup = "OBJ_21"; + projectDirPath = "."; + targets = ( + "DynamicBlurView::DynamicBlurView", + "DynamicBlurView::SwiftPMPackageDescription", + "DynamicBlurView::DynamicBlurViewPackageTests::ProductTarget", + "DynamicBlurView::DynamicBlurViewTests" + ); + }; + "OBJ_10" = { + isa = "PBXFileReference"; + path = "Info.plist"; + sourceTree = ""; + }; + "OBJ_11" = { + isa = "PBXFileReference"; + path = "BlurLayer.swift"; + sourceTree = ""; + }; + "OBJ_12" = { + isa = "PBXFileReference"; + path = "CGContext+CGImage.swift"; + sourceTree = ""; + }; + "OBJ_13" = { + isa = "PBXFileReference"; + path = "CGImage+Accelerate.swift"; + sourceTree = ""; + }; + "OBJ_14" = { + isa = "PBXFileReference"; + path = "CaptureQuality.swift"; + sourceTree = ""; + }; + "OBJ_15" = { + isa = "PBXFileReference"; + path = "DynamicBlurView.swift"; + sourceTree = ""; + }; + "OBJ_16" = { + isa = "PBXFileReference"; + path = "TrackingMode.swift"; + sourceTree = ""; + }; + "OBJ_17" = { + isa = "PBXFileReference"; + path = "UIImage+Blur.swift"; + sourceTree = ""; + }; + "OBJ_18" = { + isa = "PBXGroup"; + children = ( + "OBJ_19" + ); + name = "Tests"; + path = ""; + sourceTree = "SOURCE_ROOT"; + }; + "OBJ_19" = { + isa = "PBXGroup"; + children = ( + "OBJ_20" + ); + name = "DynamicBlurViewTests"; + path = "Tests/DynamicBlurViewTests"; + sourceTree = "SOURCE_ROOT"; + }; + "OBJ_2" = { + isa = "XCConfigurationList"; + buildConfigurations = ( + "OBJ_3", + "OBJ_4" + ); + defaultConfigurationIsVisible = "0"; + defaultConfigurationName = "Release"; + }; + "OBJ_20" = { + isa = "PBXFileReference"; + path = "XCTestManifests.swift"; + sourceTree = ""; + }; + "OBJ_21" = { + isa = "PBXGroup"; + children = ( + "DynamicBlurView::DynamicBlurViewTests::Product", + "DynamicBlurView::DynamicBlurView::Product" + ); + name = "Products"; + path = ""; + sourceTree = "BUILT_PRODUCTS_DIR"; + }; + "OBJ_24" = { + isa = "PBXFileReference"; + path = "DynamicBlurViewTests"; + sourceTree = "SOURCE_ROOT"; + }; + "OBJ_25" = { + isa = "PBXFileReference"; + path = "DynamicBlurViewExample"; + sourceTree = "SOURCE_ROOT"; + }; + "OBJ_26" = { + isa = "PBXFileReference"; + path = "LICENSE"; + sourceTree = ""; + }; + "OBJ_27" = { + isa = "PBXFileReference"; + path = "README.md"; + sourceTree = ""; + }; + "OBJ_28" = { + isa = "PBXFileReference"; + path = "DynamicBlurView.podspec"; + sourceTree = ""; + }; + "OBJ_3" = { + isa = "XCBuildConfiguration"; + buildSettings = { + CLANG_ENABLE_OBJC_ARC = "YES"; + COMBINE_HIDPI_IMAGES = "YES"; + COPY_PHASE_STRIP = "NO"; + DEBUG_INFORMATION_FORMAT = "dwarf"; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_NS_ASSERTIONS = "YES"; + GCC_OPTIMIZATION_LEVEL = "0"; + GCC_PREPROCESSOR_DEFINITIONS = ( + "$(inherited)", + "SWIFT_PACKAGE=1", + "DEBUG=1" + ); + MACOSX_DEPLOYMENT_TARGET = "10.10"; + ONLY_ACTIVE_ARCH = "YES"; + OTHER_SWIFT_FLAGS = ( + "-DXcode" + ); + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = "macosx"; + SUPPORTED_PLATFORMS = ( + "macosx", + "iphoneos", + "iphonesimulator", + "appletvos", + "appletvsimulator", + "watchos", + "watchsimulator" + ); + SWIFT_ACTIVE_COMPILATION_CONDITIONS = ( + "$(inherited)", + "SWIFT_PACKAGE", + "DEBUG" + ); + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + USE_HEADERMAP = "NO"; + }; + name = "Debug"; + }; + "OBJ_30" = { + isa = "XCConfigurationList"; + buildConfigurations = ( + "OBJ_31", + "OBJ_32" + ); + defaultConfigurationIsVisible = "0"; + defaultConfigurationName = "Release"; + }; + "OBJ_31" = { + isa = "XCBuildConfiguration"; + buildSettings = { + ENABLE_TESTABILITY = "YES"; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(PLATFORM_DIR)/Developer/Library/Frameworks" + ); + HEADER_SEARCH_PATHS = ( + "$(inherited)" + ); + INFOPLIST_FILE = "DynamicBlurView.xcodeproj/DynamicBlurView_Info.plist"; + IPHONEOS_DEPLOYMENT_TARGET = "8.0"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "$(TOOLCHAIN_DIR)/usr/lib/swift/macosx" + ); + MACOSX_DEPLOYMENT_TARGET = "10.10"; + OTHER_CFLAGS = ( + "$(inherited)" + ); + OTHER_LDFLAGS = ( + "$(inherited)" + ); + OTHER_SWIFT_FLAGS = ( + "$(inherited)" + ); + PRODUCT_BUNDLE_IDENTIFIER = "DynamicBlurView"; + PRODUCT_MODULE_NAME = "$(TARGET_NAME:c99extidentifier)"; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SKIP_INSTALL = "YES"; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = ( + "$(inherited)" + ); + SWIFT_VERSION = "5.0"; + TARGET_NAME = "DynamicBlurView"; + TVOS_DEPLOYMENT_TARGET = "9.0"; + WATCHOS_DEPLOYMENT_TARGET = "2.0"; + }; + name = "Debug"; + }; + "OBJ_32" = { + isa = "XCBuildConfiguration"; + buildSettings = { + ENABLE_TESTABILITY = "YES"; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(PLATFORM_DIR)/Developer/Library/Frameworks" + ); + HEADER_SEARCH_PATHS = ( + "$(inherited)" + ); + INFOPLIST_FILE = "DynamicBlurView.xcodeproj/DynamicBlurView_Info.plist"; + IPHONEOS_DEPLOYMENT_TARGET = "8.0"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "$(TOOLCHAIN_DIR)/usr/lib/swift/macosx" + ); + MACOSX_DEPLOYMENT_TARGET = "10.10"; + OTHER_CFLAGS = ( + "$(inherited)" + ); + OTHER_LDFLAGS = ( + "$(inherited)" + ); + OTHER_SWIFT_FLAGS = ( + "$(inherited)" + ); + PRODUCT_BUNDLE_IDENTIFIER = "DynamicBlurView"; + PRODUCT_MODULE_NAME = "$(TARGET_NAME:c99extidentifier)"; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SKIP_INSTALL = "YES"; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = ( + "$(inherited)" + ); + SWIFT_VERSION = "5.0"; + TARGET_NAME = "DynamicBlurView"; + TVOS_DEPLOYMENT_TARGET = "9.0"; + WATCHOS_DEPLOYMENT_TARGET = "2.0"; + }; + name = "Release"; + }; + "OBJ_33" = { + isa = "PBXSourcesBuildPhase"; + files = ( + "OBJ_34", + "OBJ_35", + "OBJ_36", + "OBJ_37", + "OBJ_38", + "OBJ_39", + "OBJ_40" + ); + }; + "OBJ_34" = { + isa = "PBXBuildFile"; + fileRef = "OBJ_11"; + }; + "OBJ_35" = { + isa = "PBXBuildFile"; + fileRef = "OBJ_12"; + }; + "OBJ_36" = { + isa = "PBXBuildFile"; + fileRef = "OBJ_13"; + }; + "OBJ_37" = { + isa = "PBXBuildFile"; + fileRef = "OBJ_14"; + }; + "OBJ_38" = { + isa = "PBXBuildFile"; + fileRef = "OBJ_15"; + }; + "OBJ_39" = { + isa = "PBXBuildFile"; + fileRef = "OBJ_16"; + }; + "OBJ_4" = { + isa = "XCBuildConfiguration"; + buildSettings = { + CLANG_ENABLE_OBJC_ARC = "YES"; + COMBINE_HIDPI_IMAGES = "YES"; + COPY_PHASE_STRIP = "YES"; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_OPTIMIZATION_LEVEL = "s"; + GCC_PREPROCESSOR_DEFINITIONS = ( + "$(inherited)", + "SWIFT_PACKAGE=1" + ); + MACOSX_DEPLOYMENT_TARGET = "10.10"; + OTHER_SWIFT_FLAGS = ( + "-DXcode" + ); + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = "macosx"; + SUPPORTED_PLATFORMS = ( + "macosx", + "iphoneos", + "iphonesimulator", + "appletvos", + "appletvsimulator", + "watchos", + "watchsimulator" + ); + SWIFT_ACTIVE_COMPILATION_CONDITIONS = ( + "$(inherited)", + "SWIFT_PACKAGE" + ); + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + USE_HEADERMAP = "NO"; + }; + name = "Release"; + }; + "OBJ_40" = { + isa = "PBXBuildFile"; + fileRef = "OBJ_17"; + }; + "OBJ_41" = { + isa = "PBXFrameworksBuildPhase"; + files = ( + ); + }; + "OBJ_43" = { + isa = "XCConfigurationList"; + buildConfigurations = ( + "OBJ_44", + "OBJ_45" + ); + defaultConfigurationIsVisible = "0"; + defaultConfigurationName = "Release"; + }; + "OBJ_44" = { + isa = "XCBuildConfiguration"; + buildSettings = { + LD = "/usr/bin/true"; + OTHER_SWIFT_FLAGS = ( + "-swift-version", + "5", + "-I", + "$(TOOLCHAIN_DIR)/usr/lib/swift/pm/4_2", + "-target", + "x86_64-apple-macosx10.10", + "-sdk", + "/Applications/Xcode 10.3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk" + ); + SWIFT_VERSION = "5.0"; + }; + name = "Debug"; + }; + "OBJ_45" = { + isa = "XCBuildConfiguration"; + buildSettings = { + LD = "/usr/bin/true"; + OTHER_SWIFT_FLAGS = ( + "-swift-version", + "5", + "-I", + "$(TOOLCHAIN_DIR)/usr/lib/swift/pm/4_2", + "-target", + "x86_64-apple-macosx10.10", + "-sdk", + "/Applications/Xcode 10.3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk" + ); + SWIFT_VERSION = "5.0"; + }; + name = "Release"; + }; + "OBJ_46" = { + isa = "PBXSourcesBuildPhase"; + files = ( + "OBJ_47" + ); + }; + "OBJ_47" = { + isa = "PBXBuildFile"; + fileRef = "OBJ_6"; + }; + "OBJ_49" = { + isa = "XCConfigurationList"; + buildConfigurations = ( + "OBJ_50", + "OBJ_51" + ); + defaultConfigurationIsVisible = "0"; + defaultConfigurationName = "Release"; + }; + "OBJ_5" = { + isa = "PBXGroup"; + children = ( + "OBJ_6", + "OBJ_7", + "OBJ_18", + "OBJ_21", + "OBJ_24", + "OBJ_25", + "OBJ_26", + "OBJ_27", + "OBJ_28" + ); + path = ""; + sourceTree = ""; + }; + "OBJ_50" = { + isa = "XCBuildConfiguration"; + buildSettings = { + }; + name = "Debug"; + }; + "OBJ_51" = { + isa = "XCBuildConfiguration"; + buildSettings = { + }; + name = "Release"; + }; + "OBJ_52" = { + isa = "PBXTargetDependency"; + target = "DynamicBlurView::DynamicBlurViewTests"; + }; + "OBJ_54" = { + isa = "XCConfigurationList"; + buildConfigurations = ( + "OBJ_55", + "OBJ_56" + ); + defaultConfigurationIsVisible = "0"; + defaultConfigurationName = "Release"; + }; + "OBJ_55" = { + isa = "XCBuildConfiguration"; + buildSettings = { + CLANG_ENABLE_MODULES = "YES"; + EMBEDDED_CONTENT_CONTAINS_SWIFT = "YES"; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(PLATFORM_DIR)/Developer/Library/Frameworks" + ); + HEADER_SEARCH_PATHS = ( + "$(inherited)" + ); + INFOPLIST_FILE = "DynamicBlurView.xcodeproj/DynamicBlurViewTests_Info.plist"; + IPHONEOS_DEPLOYMENT_TARGET = "8.0"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@loader_path/../Frameworks", + "@loader_path/Frameworks" + ); + MACOSX_DEPLOYMENT_TARGET = "10.10"; + OTHER_CFLAGS = ( + "$(inherited)" + ); + OTHER_LDFLAGS = ( + "$(inherited)" + ); + OTHER_SWIFT_FLAGS = ( + "$(inherited)" + ); + SWIFT_ACTIVE_COMPILATION_CONDITIONS = ( + "$(inherited)" + ); + SWIFT_VERSION = "5.0"; + TARGET_NAME = "DynamicBlurViewTests"; + TVOS_DEPLOYMENT_TARGET = "9.0"; + WATCHOS_DEPLOYMENT_TARGET = "2.0"; + }; + name = "Debug"; + }; + "OBJ_56" = { + isa = "XCBuildConfiguration"; + buildSettings = { + CLANG_ENABLE_MODULES = "YES"; + EMBEDDED_CONTENT_CONTAINS_SWIFT = "YES"; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(PLATFORM_DIR)/Developer/Library/Frameworks" + ); + HEADER_SEARCH_PATHS = ( + "$(inherited)" + ); + INFOPLIST_FILE = "DynamicBlurView.xcodeproj/DynamicBlurViewTests_Info.plist"; + IPHONEOS_DEPLOYMENT_TARGET = "8.0"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@loader_path/../Frameworks", + "@loader_path/Frameworks" + ); + MACOSX_DEPLOYMENT_TARGET = "10.10"; + OTHER_CFLAGS = ( + "$(inherited)" + ); + OTHER_LDFLAGS = ( + "$(inherited)" + ); + OTHER_SWIFT_FLAGS = ( + "$(inherited)" + ); + SWIFT_ACTIVE_COMPILATION_CONDITIONS = ( + "$(inherited)" + ); + SWIFT_VERSION = "5.0"; + TARGET_NAME = "DynamicBlurViewTests"; + TVOS_DEPLOYMENT_TARGET = "9.0"; + WATCHOS_DEPLOYMENT_TARGET = "2.0"; + }; + name = "Release"; + }; + "OBJ_57" = { + isa = "PBXSourcesBuildPhase"; + files = ( + "OBJ_58" + ); + }; + "OBJ_58" = { + isa = "PBXBuildFile"; + fileRef = "OBJ_20"; + }; + "OBJ_59" = { + isa = "PBXFrameworksBuildPhase"; + files = ( + "OBJ_60" + ); + }; + "OBJ_6" = { + isa = "PBXFileReference"; + explicitFileType = "sourcecode.swift"; + path = "Package.swift"; + sourceTree = ""; + }; + "OBJ_60" = { + isa = "PBXBuildFile"; + fileRef = "DynamicBlurView::DynamicBlurView::Product"; + }; + "OBJ_61" = { + isa = "PBXTargetDependency"; + target = "DynamicBlurView::DynamicBlurView"; + }; + "OBJ_7" = { + isa = "PBXGroup"; + children = ( + "OBJ_8" + ); + name = "Sources"; + path = ""; + sourceTree = "SOURCE_ROOT"; + }; + "OBJ_8" = { + isa = "PBXGroup"; + children = ( + "OBJ_9", + "OBJ_10", + "OBJ_11", + "OBJ_12", + "OBJ_13", + "OBJ_14", + "OBJ_15", + "OBJ_16", + "OBJ_17" + ); + name = "DynamicBlurView"; + path = "Sources/DynamicBlurView"; + sourceTree = "SOURCE_ROOT"; + }; + "OBJ_9" = { + isa = "PBXFileReference"; + path = "DynamicBlurView.h"; + sourceTree = ""; + }; + }; + rootObject = "OBJ_1"; } diff --git a/DynamicBlurView.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/DynamicBlurView.xcodeproj/project.xcworkspace/contents.xcworkspacedata index 69fefff..fe1aa71 100644 --- a/DynamicBlurView.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ b/DynamicBlurView.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -2,6 +2,6 @@ + location = "self:"> - + \ No newline at end of file diff --git a/DynamicBlurView.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/DynamicBlurView.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings new file mode 100644 index 0000000..a72dc2b --- /dev/null +++ b/DynamicBlurView.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings @@ -0,0 +1,8 @@ + + + + + IDEWorkspaceSharedSettings_AutocreateContextsIfNeeded + + + \ No newline at end of file diff --git a/DynamicBlurView.xcodeproj/xcshareddata/xcschemes/DynamicBlurView-Package.xcscheme b/DynamicBlurView.xcodeproj/xcshareddata/xcschemes/DynamicBlurView-Package.xcscheme new file mode 100644 index 0000000..ea278cc --- /dev/null +++ b/DynamicBlurView.xcodeproj/xcshareddata/xcschemes/DynamicBlurView-Package.xcscheme @@ -0,0 +1,81 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 79bc1629e909163b64f0901da480639fdb7ffc06 Mon Sep 17 00:00:00 2001 From: Mohammadz74 Date: Fri, 8 Nov 2019 15:25:51 +0330 Subject: [PATCH 3/4] added support for swift package manager --- Package.swift | 5 +---- Tests/DynamicBlurViewTests/XCTestManifests.swift | 9 --------- 2 files changed, 1 insertion(+), 13 deletions(-) delete mode 100644 Tests/DynamicBlurViewTests/XCTestManifests.swift diff --git a/Package.swift b/Package.swift index 068f97f..fbe6c50 100644 --- a/Package.swift +++ b/Package.swift @@ -23,9 +23,6 @@ let package = Package( // Targets can depend on other targets in this package, and on products in packages which this package depends on. .target( name: "DynamicBlurView", - dependencies: []), - .testTarget( - name: "DynamicBlurViewTests", - dependencies: ["DynamicBlurView"]), + dependencies: []) ] ) diff --git a/Tests/DynamicBlurViewTests/XCTestManifests.swift b/Tests/DynamicBlurViewTests/XCTestManifests.swift deleted file mode 100644 index 529ed46..0000000 --- a/Tests/DynamicBlurViewTests/XCTestManifests.swift +++ /dev/null @@ -1,9 +0,0 @@ -import XCTest - -#if !canImport(ObjectiveC) -public func allTests() -> [XCTestCaseEntry] { - return [ - testCase(DynamicBlurViewTests.allTests), - ] -} -#endif From e179de8a40d0757a09d9f90e2975898f18238576 Mon Sep 17 00:00:00 2001 From: Mohammadz74 Date: Fri, 8 Nov 2019 16:07:10 +0330 Subject: [PATCH 4/4] removed unused files --- .build/manifest.db | Bin 24576 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 .build/manifest.db diff --git a/.build/manifest.db b/.build/manifest.db deleted file mode 100644 index 2e469b99ea24c628e61cf5161a17aa876cfd66c6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 24576 zcmeI4&2J*f6~G&V?eS{HP86*ysv0nOZ13!8cB5*!O?|xg>b+l87cLh? z^HtUK5!-d#zV5SW=0{8Sp{||**xLR=8T3F8-HbY)X{8evG^cyBFORBL+R zJ0!2oOlsmRiI>ukaBp8lRyRNYJaTzR%{^%W>uCbE6) zgL3f7)%`iq7f--}$i_De{LqUMpaduZN`Mle1SkPYfD)htC;>`<5}*YB&j_qA%S`0a z+8SQ}#~%NMS^xX`)p`{Y^r8eP0ZM=ppaduZN`Mle1SkPY;L{O!|Fc+(`Rdgb*MSXb zZtFx$rTMhPi$b2y=Xg;RAen(X1-A%!NQ+rs&Q7u*iHop^h^qyxoRNtMQRXwmm?VYy zRA>_Gl9Es^pW>w)FJlYX61Ear4J)uG#5U+)k8pP4oB+0Bu(#Nz058~; zG~6ODg)N98uE9zG7CghqQ<>L1hd%_sZE<_LZFZ68R~^06z(wPDG|K1;-L#-kcO3(H zo?;I}ad9cinD>h}&&{r1-#ZNVwnLS7wMdNl@{0u}?3YOU?W6mxY+9%SA14Tjeg@BV z?D5yk`ri8Q9)G?5k5BiQ)0Qa#N`Mle1SkPYfD)htC;>`<5@4A3KaYL&D)PaikFNju z@7MZ2mWb+$-Spu4Kbne~4~XBj{$F}mi+%aU+6O~{uKz#&|2B*3f3p9-@;7E9*x3E- z&yb)OB|r&K0+awH@I52&`)+KN`QuO5)_!@#d4Yj96JR@tyHdG(ghqCG>vU5a1Tv%u5zzI0iPiR z;X7(?tZDwmAQZC9wyV1rDhHL5Lfr5eTQWwY`~C9pUdOb0vg3iBym5PIc3>l9uIQ{+ zbnLF#yD6HB24Z{A^Z5gnVBiEh=sAH4NN?-`tdD4Qp!=tDIzihqja{T;Z|e(HXk=JH z2ZJKb&7irc7g)Nha%27hw_C8&1ipcvw|&R`IPHKo?n7t-#O{xubjPQP)`vJCR1Exf zAm2XTEZxUn)P(y8q9zAvF-}MiCRJh0EOyfY*)g;=ISIO`sB&^bAh7g-2~{8_ldKmE z2967-aOZ~N3Djobp%@e2rwY?{!>)N)58Obm>yS}=@_G!WqLT>*f72Acrr#*_2O+x3 z{OPxAYmcuuWDg-)PJRzy<1*2i?wR4flcj`MyCg;et}V07t<=$HLP# z&fd`*(6w7Py$s2@0xwKYUYvoiCXYmsh+uQy%^z@bak>W+&C<(8t=1x86`;FKgB+EH zD2@!LgIG~Wr13aVlQ8r8VSFVtM3yr^Ff8k{r!%>y8@1+9V)}4EV>e>Z3Rny!z@jK6 zyv`YJT`3+kDy`!tbYrEqPkLUIvw9ZS?JCtO@r#W8OYf8vRu6HZh||qot#HuV)ta^9 zOCtDfBe++s_ePbSV>_)TtELCxzz79PEv2ys21amDydO_xvW8MmbR62JYCAB<5F3W;stp-7Z;0#a#1MA zk}NA&aj#yg;6bA%hwv7W>^c^C8%&;Gs>%G>@cd1;^G1>`Wv?yfdvCo{>s*orxOy-} zwA3V+z;go_SRCX>^`cg;7IyF`4`&Bl0+NT7qM}Wn3;YECrWsBdcMbD|a~kho#Bpzo z$G=!wVGhZJHJNI`awZ`p1ok9dY{x@}V|U;w8C^au}8}JF2@#`_!|KIo*v+>`J|7`pl67-@3C;>`<5}*Vq0ZM=p jpaduZN`Mle1So+YFoET0Bod3^-_a=ky|fgKuC4tK2@y~*