diff --git a/.gitignore b/.gitignore index e7b722d..c78fb78 100644 --- a/.gitignore +++ b/.gitignore @@ -18,6 +18,25 @@ profile DerivedData *.hmap *.ipa +.build +DerivedData +/.previous-build +xcuserdata +.DS_Store +*~ +\#* +.\#* +.*.sw[nop] +*.xcscmblueprint +/default.profraw +*.xcodeproj +Utilities/Docker/*.tar.gz +.swiftpm +Package.resolved +/build +*.pyc +.docc-build +.vscode # Bundler .bundle diff --git a/DDSpiderChart.podspec b/DDSpiderChart.podspec index b9dfce7..16a7af1 100644 --- a/DDSpiderChart.podspec +++ b/DDSpiderChart.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'DDSpiderChart' - s.version = '0.4' + s.version = '0.6' s.summary = 'Easy to use Spider (Radar) Chart library for iOS written in Swift.' s.homepage = 'https://github.com/dadalar/DDSpiderChart' @@ -9,8 +9,8 @@ Pod::Spec.new do |s| s.author = { 'Deniz Adalar' => 'me@dadalar.net' } s.source = { :git => 'https://github.com/dadalar/DDSpiderChart.git', :tag => s.version.to_s } - s.ios.deployment_target = '8.0' + s.ios.deployment_target = '11.0' - s.source_files = 'DDSpiderChart/Classes/**/*' + s.source_files = 'Sources/DDSpiderChart/Classes/**/*' end diff --git a/Example/DDSpiderChart.xcodeproj/project.pbxproj b/Example/DDSpiderChart.xcodeproj/project.pbxproj index 30fffc9..bef51e1 100644 --- a/Example/DDSpiderChart.xcodeproj/project.pbxproj +++ b/Example/DDSpiderChart.xcodeproj/project.pbxproj @@ -7,19 +7,17 @@ objects = { /* Begin PBXBuildFile section */ - 1D858565B3DFD03C1FBA4CFB /* Pods_DDSpiderChart_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 385E050853BC48695309168B /* Pods_DDSpiderChart_Example.framework */; }; - 5F4E2671011D1CF70730D282 /* Pods_DDSpiderChart_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D6FAE7F1BFD36F112EC88155 /* Pods_DDSpiderChart_Tests.framework */; }; 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; }; 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD71AFB9204008FA782 /* ViewController.swift */; }; 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607FACD91AFB9204008FA782 /* Main.storyboard */; }; 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; }; 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; }; 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACEB1AFB9204008FA782 /* Tests.swift */; }; + FACD97452A0EC40E0082F29F /* SampleSwiftUIView.swift in Sources */ = {isa = PBXBuildFile; fileRef = FACD97442A0EC40E0082F29F /* SampleSwiftUIView.swift */; }; FB3A58681EB7F7DF00950D7E /* DDSpiderChart.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FB3A58671EB7F7DF00950D7E /* DDSpiderChart.framework */; }; /* End PBXBuildFile section */ /* Begin PBXFileReference section */ - 385E050853BC48695309168B /* Pods_DDSpiderChart_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_DDSpiderChart_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 607FACD01AFB9204008FA782 /* DDSpiderChart_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = DDSpiderChart_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; @@ -32,12 +30,8 @@ 607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = ""; }; 655F189735898E12624EAC94 /* DDSpiderChart.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = DDSpiderChart.podspec; path = ../DDSpiderChart.podspec; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 6E3CCD98E35EE038E64279AA /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; - 6F38D6BD364074313DA06F35 /* Pods-DDSpiderChart_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DDSpiderChart_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-DDSpiderChart_Example/Pods-DDSpiderChart_Example.debug.xcconfig"; sourceTree = ""; }; - B0955A8AD40536282F15885E /* Pods-DDSpiderChart_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DDSpiderChart_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-DDSpiderChart_Tests/Pods-DDSpiderChart_Tests.debug.xcconfig"; sourceTree = ""; }; - D6FAE7F1BFD36F112EC88155 /* Pods_DDSpiderChart_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_DDSpiderChart_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - F376DA039E62A427366438EF /* Pods-DDSpiderChart_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DDSpiderChart_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-DDSpiderChart_Tests/Pods-DDSpiderChart_Tests.release.xcconfig"; sourceTree = ""; }; F3EA3B209F41A6C298FA68FB /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; - F6AACBCBF4ED89551F22CAE7 /* Pods-DDSpiderChart_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DDSpiderChart_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-DDSpiderChart_Example/Pods-DDSpiderChart_Example.release.xcconfig"; sourceTree = ""; }; + FACD97442A0EC40E0082F29F /* SampleSwiftUIView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SampleSwiftUIView.swift; sourceTree = ""; }; FB3A58671EB7F7DF00950D7E /* DDSpiderChart.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = DDSpiderChart.framework; path = "Pods/../build/Debug-iphoneos/DDSpiderChart/DDSpiderChart.framework"; sourceTree = ""; }; /* End PBXFileReference section */ @@ -46,7 +40,6 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 1D858565B3DFD03C1FBA4CFB /* Pods_DDSpiderChart_Example.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -55,22 +48,17 @@ buildActionMask = 2147483647; files = ( FB3A58681EB7F7DF00950D7E /* DDSpiderChart.framework in Frameworks */, - 5F4E2671011D1CF70730D282 /* Pods_DDSpiderChart_Tests.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ - 424B79D6BD1E554FC3B7CA7D /* Pods */ = { + 308E1471C4BF9738EB44B5F2 /* Pods */ = { isa = PBXGroup; children = ( - 6F38D6BD364074313DA06F35 /* Pods-DDSpiderChart_Example.debug.xcconfig */, - F6AACBCBF4ED89551F22CAE7 /* Pods-DDSpiderChart_Example.release.xcconfig */, - B0955A8AD40536282F15885E /* Pods-DDSpiderChart_Tests.debug.xcconfig */, - F376DA039E62A427366438EF /* Pods-DDSpiderChart_Tests.release.xcconfig */, ); - name = Pods; + path = Pods; sourceTree = ""; }; 607FACC71AFB9204008FA782 = { @@ -80,8 +68,8 @@ 607FACD21AFB9204008FA782 /* Example for DDSpiderChart */, 607FACE81AFB9204008FA782 /* Tests */, 607FACD11AFB9204008FA782 /* Products */, - 424B79D6BD1E554FC3B7CA7D /* Pods */, DD8AB8D57033EC572FF1F5DE /* Frameworks */, + 308E1471C4BF9738EB44B5F2 /* Pods */, ); sourceTree = ""; }; @@ -99,6 +87,7 @@ children = ( 607FACD51AFB9204008FA782 /* AppDelegate.swift */, 607FACD71AFB9204008FA782 /* ViewController.swift */, + FACD97442A0EC40E0082F29F /* SampleSwiftUIView.swift */, 607FACD91AFB9204008FA782 /* Main.storyboard */, 607FACDC1AFB9204008FA782 /* Images.xcassets */, 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */, @@ -147,8 +136,6 @@ isa = PBXGroup; children = ( FB3A58671EB7F7DF00950D7E /* DDSpiderChart.framework */, - 385E050853BC48695309168B /* Pods_DDSpiderChart_Example.framework */, - D6FAE7F1BFD36F112EC88155 /* Pods_DDSpiderChart_Tests.framework */, ); name = Frameworks; sourceTree = ""; @@ -160,11 +147,9 @@ isa = PBXNativeTarget; buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "DDSpiderChart_Example" */; buildPhases = ( - 85CE72ECD87289A73A656F42 /* [CP] Check Pods Manifest.lock */, 607FACCC1AFB9204008FA782 /* Sources */, 607FACCD1AFB9204008FA782 /* Frameworks */, 607FACCE1AFB9204008FA782 /* Resources */, - 25FAC227B95B7421EEE14A13 /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -179,11 +164,9 @@ isa = PBXNativeTarget; buildConfigurationList = 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "DDSpiderChart_Tests" */; buildPhases = ( - E50E3FE0726E2E02808FC2DB /* [CP] Check Pods Manifest.lock */, 607FACE11AFB9204008FA782 /* Sources */, 607FACE21AFB9204008FA782 /* Frameworks */, 607FACE31AFB9204008FA782 /* Resources */, - AFD3CC367E5C93EF85AF34A1 /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -206,6 +189,7 @@ TargetAttributes = { 607FACCF1AFB9204008FA782 = { CreatedOnToolsVersion = 6.3.1; + DevelopmentTeam = 3HQEA3N4BF; LastSwiftMigration = 0900; }; 607FACE41AFB9204008FA782 = { @@ -254,86 +238,12 @@ }; /* End PBXResourcesBuildPhase section */ -/* Begin PBXShellScriptBuildPhase section */ - 25FAC227B95B7421EEE14A13 /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${SRCROOT}/Pods/Target Support Files/Pods-DDSpiderChart_Example/Pods-DDSpiderChart_Example-frameworks.sh", - "${BUILT_PRODUCTS_DIR}/DDSpiderChart/DDSpiderChart.framework", - ); - name = "[CP] Embed Pods Frameworks"; - outputPaths = ( - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/DDSpiderChart.framework", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-DDSpiderChart_Example/Pods-DDSpiderChart_Example-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - 85CE72ECD87289A73A656F42 /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-DDSpiderChart_Example-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; - AFD3CC367E5C93EF85AF34A1 /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${SRCROOT}/Pods/Target Support Files/Pods-DDSpiderChart_Tests/Pods-DDSpiderChart_Tests-frameworks.sh", - "${BUILT_PRODUCTS_DIR}/DDSpiderChart/DDSpiderChart.framework", - ); - name = "[CP] Embed Pods Frameworks"; - outputPaths = ( - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/DDSpiderChart.framework", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-DDSpiderChart_Tests/Pods-DDSpiderChart_Tests-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - E50E3FE0726E2E02808FC2DB /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-DDSpiderChart_Tests-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; -/* End PBXShellScriptBuildPhase section */ - /* Begin PBXSourcesBuildPhase section */ 607FACCC1AFB9204008FA782 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( + FACD97452A0EC40E0082F29F /* SampleSwiftUIView.swift in Sources */, 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */, 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */, ); @@ -470,10 +380,11 @@ }; 607FACF01AFB9204008FA782 /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 6F38D6BD364074313DA06F35 /* Pods-DDSpiderChart_Example.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + DEVELOPMENT_TEAM = 3HQEA3N4BF; INFOPLIST_FILE = DDSpiderChart/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; MODULE_NAME = ExampleApp; PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; @@ -484,10 +395,11 @@ }; 607FACF11AFB9204008FA782 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = F6AACBCBF4ED89551F22CAE7 /* Pods-DDSpiderChart_Example.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + DEVELOPMENT_TEAM = 3HQEA3N4BF; INFOPLIST_FILE = DDSpiderChart/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; MODULE_NAME = ExampleApp; PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; @@ -498,7 +410,6 @@ }; 607FACF31AFB9204008FA782 /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = B0955A8AD40536282F15885E /* Pods-DDSpiderChart_Tests.debug.xcconfig */; buildSettings = { FRAMEWORK_SEARCH_PATHS = ( "$(SDKROOT)/Developer/Library/Frameworks", @@ -520,7 +431,6 @@ }; 607FACF41AFB9204008FA782 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = F376DA039E62A427366438EF /* Pods-DDSpiderChart_Tests.release.xcconfig */; buildSettings = { FRAMEWORK_SEARCH_PATHS = ( "$(SDKROOT)/Developer/Library/Frameworks", diff --git a/Example/DDSpiderChart.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Example/DDSpiderChart.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/Example/DDSpiderChart.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/Example/DDSpiderChart/AppDelegate.swift b/Example/DDSpiderChart/AppDelegate.swift index 91d9ea2..eb94bca 100644 --- a/Example/DDSpiderChart/AppDelegate.swift +++ b/Example/DDSpiderChart/AppDelegate.swift @@ -14,7 +14,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? - func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { // Override point for customization after application launch. return true } diff --git a/Example/DDSpiderChart/Images.xcassets/AppIcon.appiconset/Contents.json b/Example/DDSpiderChart/Images.xcassets/AppIcon.appiconset/Contents.json index d3942e9..8121323 100644 --- a/Example/DDSpiderChart/Images.xcassets/AppIcon.appiconset/Contents.json +++ b/Example/DDSpiderChart/Images.xcassets/AppIcon.appiconset/Contents.json @@ -2,37 +2,52 @@ "images" : [ { "idiom" : "iphone", - "size" : "29x29", - "scale" : "2x" + "scale" : "2x", + "size" : "20x20" }, { "idiom" : "iphone", - "size" : "29x29", - "scale" : "3x" + "scale" : "3x", + "size" : "20x20" }, { "idiom" : "iphone", - "size" : "40x40", - "scale" : "2x" + "scale" : "2x", + "size" : "29x29" }, { "idiom" : "iphone", - "size" : "40x40", - "scale" : "3x" + "scale" : "3x", + "size" : "29x29" }, { "idiom" : "iphone", - "size" : "60x60", - "scale" : "2x" + "scale" : "2x", + "size" : "40x40" }, { "idiom" : "iphone", - "size" : "60x60", - "scale" : "3x" + "scale" : "3x", + "size" : "40x40" + }, + { + "idiom" : "iphone", + "scale" : "2x", + "size" : "60x60" + }, + { + "idiom" : "iphone", + "scale" : "3x", + "size" : "60x60" + }, + { + "idiom" : "ios-marketing", + "scale" : "1x", + "size" : "1024x1024" } ], "info" : { - "version" : 1, - "author" : "xcode" + "author" : "xcode", + "version" : 1 } } diff --git a/Example/DDSpiderChart/SampleSwiftUIView.swift b/Example/DDSpiderChart/SampleSwiftUIView.swift new file mode 100644 index 0000000..4cdb777 --- /dev/null +++ b/Example/DDSpiderChart/SampleSwiftUIView.swift @@ -0,0 +1,134 @@ +// +// SwiftUIView.swift +// DDSpiderChart +// +// Created by Pablo Ruan on 12/05/23. +// + +#if canImport(SwiftUI) +import SwiftUI +#endif +import DDSpiderChart + +@available(iOS 14.0.0, *) +struct SwiftUIView: View { + @State var currentSample: Sample = .sample1 + + init() { + UISegmentedControl.appearance().selectedSegmentTintColor = .gray + UISegmentedControl.appearance().setTitleTextAttributes([.foregroundColor: UIColor.white], for: .normal) + UISegmentedControl.appearance().setTitleTextAttributes([.foregroundColor: UIColor.white], for: .selected) + } + + var BackgroundColor: Color { + Color.black + } + + var body: some View { + ZStack { + currentSample.bgColor.edgesIgnoringSafeArea(.vertical) + VStack { + ZStack { + VStack(spacing: 20) { + Text("DDSpiderChart SwiftUI") + .foregroundColor(.white) + .bold() + + Picker("", selection: $currentSample) { + ForEach(Sample.allCases, id: \.self) { sample in + Text(sample.rawValue.capitalized) + } + } + .frame(maxWidth: 300) + .pickerStyle(.segmented) + } + .frame(maxWidth: .infinity) + .padding(.top, 50) + .padding(.bottom, 20) + } + .background(Color.black) + .edgesIgnoringSafeArea(.top) + Spacer() + DDSpiderChart( + axes: currentSample.axes, + values: currentSample.data, + fontTitle: .boldSystemFont(ofSize: 16), + textColor: currentSample.titleColor + ).frame(width: 300, height: 300) + Spacer() + } + } + } + + + enum Sample: String, CaseIterable { + case sample1 + case sample2 + case sample3 + + var data: [DDSpiderChartEntries] { + switch self { + case .sample1, + .sample2: + return [ + DDSpiderChartEntries(values: [0.6, 0.8, 1.0, 0.6, 0.9, 0.75], color: .red), + DDSpiderChartEntries(values: [0.5, 0.4, 0.35, 0.6, 0.7, 0.8], color: .accentColor) + ] + case .sample3: + return [ + DDSpiderChartEntries(values: [0.8, 0.8, 1.0, 0.7, 0.9, 0.75, 1.0, 0.88, 0.92], + color: Color(red:1.00, green:0.54, blue:0.00)) + ] + } + } + + var axes: [String] { + switch self { + case .sample1, .sample2: + return ["PAS", "DRI", "SPD", "DEF", "PHY", "SHT"] + case .sample3: + return ["E-mail", "Facebook", "Twitter", "Instagram", "Pinterest", "Snapchat", "Search\nEngine", "Shopping\nSites", "TV"] + } + } + + var color: Color { + switch self { + case .sample1: + return .white + case .sample2: + return .gray + case .sample3: + return .secondary + } + } + + var titleColor: Color { + switch self { + case .sample1: + return .black + case .sample2: + return .white + case .sample3: + return .gray + } + } + + var bgColor: Color { + switch self { + case .sample1: + return .white + case .sample2: + return .black.opacity(0.8) + case .sample3: + return .white + } + } + } +} + +@available(iOS 14.0.0, *) +struct SwiftUIView_Previews: PreviewProvider { + static var previews: some View { + SwiftUIView() + } +} diff --git a/Example/DDSpiderChart/ViewController.swift b/Example/DDSpiderChart/ViewController.swift index 6b408a9..0eea346 100644 --- a/Example/DDSpiderChart/ViewController.swift +++ b/Example/DDSpiderChart/ViewController.swift @@ -25,13 +25,13 @@ class ViewController: UIViewController { // Custom font with custom size & color example func attributedAxisLabelSample1(_ label: String) -> NSAttributedString { let attributedString = NSMutableAttributedString() - attributedString.append(NSAttributedString(string: label, attributes: [NSAttributedStringKey.foregroundColor: UIColor.black, NSAttributedStringKey.font: UIFont(name: "AvenirNextCondensed-Bold", size: 16)!])) + attributedString.append(NSAttributedString(string: label, attributes: [NSAttributedString.Key.foregroundColor: UIColor.black, NSAttributedString.Key.font: UIFont(name: "AvenirNextCondensed-Bold", size: 16)!])) return attributedString } func attributedAxisLabelSample2(_ label: String) -> NSAttributedString { let attributedString = NSMutableAttributedString() - attributedString.append(NSAttributedString(string: label, attributes: [NSAttributedStringKey.foregroundColor: UIColor.white, NSAttributedStringKey.font: UIFont(name: "AvenirNextCondensed-Bold", size: 16)!])) + attributedString.append(NSAttributedString(string: label, attributes: [NSAttributedString.Key.foregroundColor: UIColor.white, NSAttributedString.Key.font: UIFont(name: "AvenirNextCondensed-Bold", size: 16)!])) return attributedString } diff --git a/Example/Podfile b/Example/Podfile index 81e4f4e..99a3f79 100644 --- a/Example/Podfile +++ b/Example/Podfile @@ -1,4 +1,4 @@ -platform :ios, '8.0' +platform :ios, '11.0' use_frameworks! diff --git a/Example/Pods/Local Podspecs/DDSpiderChart.podspec.json b/Example/Pods/Local Podspecs/DDSpiderChart.podspec.json deleted file mode 100644 index 6253afc..0000000 --- a/Example/Pods/Local Podspecs/DDSpiderChart.podspec.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "name": "DDSpiderChart", - "version": "0.4", - "summary": "Easy to use Spider (Radar) Chart library for iOS written in Swift.", - "homepage": "https://github.com/dadalar/DDSpiderChart", - "screenshots": [ - "https://raw.githubusercontent.com/dadalar/DDSpiderChart/master/Screenshots/sample1.png", - "https://raw.githubusercontent.com/dadalar/DDSpiderChart/master/Screenshots/sample2.png" - ], - "license": { - "type": "MIT", - "file": "LICENSE" - }, - "authors": { - "Deniz Adalar": "me@dadalar.net" - }, - "source": { - "git": "https://github.com/dadalar/DDSpiderChart.git", - "tag": "0.4" - }, - "platforms": { - "ios": "8.0" - }, - "source_files": "DDSpiderChart/Classes/**/*" -} diff --git a/Example/Pods/Manifest.lock b/Example/Pods/Manifest.lock deleted file mode 100644 index da16088..0000000 --- a/Example/Pods/Manifest.lock +++ /dev/null @@ -1,16 +0,0 @@ -PODS: - - DDSpiderChart (0.4) - -DEPENDENCIES: - - DDSpiderChart (from `../`) - -EXTERNAL SOURCES: - DDSpiderChart: - :path: "../" - -SPEC CHECKSUMS: - DDSpiderChart: e1388f5693652586cb56c514d72b4161b8fa089d - -PODFILE CHECKSUM: 95911bb96e668177e01107197a53d5ef741b2a7c - -COCOAPODS: 1.5.3 diff --git a/Example/Pods/Pods.xcodeproj/project.pbxproj b/Example/Pods/Pods.xcodeproj/project.pbxproj deleted file mode 100644 index 6b9d1bb..0000000 --- a/Example/Pods/Pods.xcodeproj/project.pbxproj +++ /dev/null @@ -1,793 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - 1C4FA0C786C904EFE86489DDC3FCF6D0 /* Pods-DDSpiderChart_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = BA8B203E675497559F9345AEEFC69849 /* Pods-DDSpiderChart_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 3D690F1793D8992412B2B8275A983925 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5A16F4CFC63FAC439D7A04994F579A03 /* Foundation.framework */; }; - 4631CBC53D6E0BE703720A4C941E7DC2 /* DDSpiderChart-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 631CE92EB61CF2CE3212A706B3D11049 /* DDSpiderChart-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 55834A789B63760DB5A78B43DD791837 /* Pods-DDSpiderChart_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = A81FBF8CBB73896E1185A7B8D5E8E61B /* Pods-DDSpiderChart_Example-dummy.m */; }; - 5650A9CCA9099D420C7897D4DACABC0F /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5A16F4CFC63FAC439D7A04994F579A03 /* Foundation.framework */; }; - 6D749CC5B5E7E9B517C03F20EDB5DD1C /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5A16F4CFC63FAC439D7A04994F579A03 /* Foundation.framework */; }; - 782BDE273BC46E96890C725408B60627 /* DDSpiderChartDataSetView.swift in Sources */ = {isa = PBXBuildFile; fileRef = ED5B73BE1295A50EA534E0A90C9932BC /* DDSpiderChartDataSetView.swift */; }; - 97D71C6CD7BDD418D8693B463722AD61 /* DDSpiderChart-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = EB95D8E06D3FB794B71102F64A53DBBE /* DDSpiderChart-dummy.m */; }; - 9AE0AC77DA95C304184E77034FDA161B /* DDSpiderChartView.swift in Sources */ = {isa = PBXBuildFile; fileRef = C34B2C2C6AE3A46A869B1DA5DBCE67A3 /* DDSpiderChartView.swift */; }; - D11A0CF9E745F5BE0740E8A22200E0F8 /* DrawableString.swift in Sources */ = {isa = PBXBuildFile; fileRef = FE5C7EAEC873A180EE8F74FB63D34EB1 /* DrawableString.swift */; }; - DCD4326C8A8604E71991F59B7CDBA892 /* Pods-DDSpiderChart_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 85074E011020D023A39DE316D2B82A6D /* Pods-DDSpiderChart_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E1D767FF7CB0C9728FAD38DC063506CD /* Pods-DDSpiderChart_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 10235C6F9070D39C6C28C3B36764AC48 /* Pods-DDSpiderChart_Tests-dummy.m */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - 3351B32909DC97DB0E709B8C135AC169 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = 097B5645ED9F9CAAE4BE2BA8FE8985D8; - remoteInfo = DDSpiderChart; - }; - 72659B56CF8DC56394CD940A7BF8926E /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = 097B5645ED9F9CAAE4BE2BA8FE8985D8; - remoteInfo = DDSpiderChart; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXFileReference section */ - 0C1864CB409DDEDB875264D5D527557B /* Pods-DDSpiderChart_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-DDSpiderChart_Example-frameworks.sh"; sourceTree = ""; }; - 0C3AF5A613F7F3646E61C5B44E90D347 /* Pods-DDSpiderChart_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-DDSpiderChart_Example.modulemap"; sourceTree = ""; }; - 0F38540A81958490B644A2239AF58325 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; path = README.md; sourceTree = ""; }; - 10235C6F9070D39C6C28C3B36764AC48 /* Pods-DDSpiderChart_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-DDSpiderChart_Tests-dummy.m"; sourceTree = ""; }; - 13DED54A4C5B269EF1A2D38777D3244C /* Pods-DDSpiderChart_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-DDSpiderChart_Example-resources.sh"; sourceTree = ""; }; - 1809DABCEB6DA596541211CB03329BF8 /* Pods-DDSpiderChart_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-DDSpiderChart_Tests.debug.xcconfig"; sourceTree = ""; }; - 1C1852A0D929ED605DC8D8E2A2EA718D /* Pods-DDSpiderChart_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-DDSpiderChart_Tests.modulemap"; sourceTree = ""; }; - 1D614B4BF00350E053F0C0B912AA2838 /* Pods-DDSpiderChart_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-DDSpiderChart_Tests-acknowledgements.markdown"; sourceTree = ""; }; - 2D8F61CF3C6E13FA9AB1B0CFAC32E338 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 386CEC6714838445FD2576C7A325C427 /* DDSpiderChart.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = DDSpiderChart.xcconfig; sourceTree = ""; }; - 3C074B02D514B2822A17AC1ABEFB0A82 /* Pods_DDSpiderChart_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_DDSpiderChart_Tests.framework; path = "Pods-DDSpiderChart_Tests.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; - 4B7946BE5EF9B77B8B2B8C9D8160B60B /* DDSpiderChart.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; path = DDSpiderChart.podspec; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; - 54A00838762287BF176FC3745FEADF3E /* Pods-DDSpiderChart_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-DDSpiderChart_Tests-acknowledgements.plist"; sourceTree = ""; }; - 59066BEF95AB518C4D3812E53F9F1666 /* Pods-DDSpiderChart_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-DDSpiderChart_Example-acknowledgements.markdown"; sourceTree = ""; }; - 5A16F4CFC63FAC439D7A04994F579A03 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; - 5E555EF4CB47C4E72BCF5624ACCA5921 /* Pods-DDSpiderChart_Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-DDSpiderChart_Tests-resources.sh"; sourceTree = ""; }; - 631CE92EB61CF2CE3212A706B3D11049 /* DDSpiderChart-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "DDSpiderChart-umbrella.h"; sourceTree = ""; }; - 74F3C34AF5B457D6B0FF2DB725C3A501 /* Pods-DDSpiderChart_Tests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-DDSpiderChart_Tests-frameworks.sh"; sourceTree = ""; }; - 78706A5024F28CAFA4EF3C7C158EB3A5 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 7A52BCA9460D3A59BDA07C80C672EF70 /* DDSpiderChart.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = DDSpiderChart.framework; path = DDSpiderChart.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 823DDD256565D4E97D6F66F87E35F6E6 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 85074E011020D023A39DE316D2B82A6D /* Pods-DDSpiderChart_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-DDSpiderChart_Example-umbrella.h"; sourceTree = ""; }; - 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; - 93B9B5F13281741348CA0FF9B0E144E5 /* DDSpiderChart-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "DDSpiderChart-prefix.pch"; sourceTree = ""; }; - 9D20A54E9E1F27011BA8AC8FB9124030 /* Pods-DDSpiderChart_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-DDSpiderChart_Tests.release.xcconfig"; sourceTree = ""; }; - A520E10C5BD5AE8E209424DD07ED19BE /* Pods_DDSpiderChart_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_DDSpiderChart_Example.framework; path = "Pods-DDSpiderChart_Example.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; - A81FBF8CBB73896E1185A7B8D5E8E61B /* Pods-DDSpiderChart_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-DDSpiderChart_Example-dummy.m"; sourceTree = ""; }; - B1EF142EEEC4B4C4966A2EAFDA9E2457 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; path = LICENSE; sourceTree = ""; }; - BA8B203E675497559F9345AEEFC69849 /* Pods-DDSpiderChart_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-DDSpiderChart_Tests-umbrella.h"; sourceTree = ""; }; - C34B2C2C6AE3A46A869B1DA5DBCE67A3 /* DDSpiderChartView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = DDSpiderChartView.swift; path = DDSpiderChart/Classes/DDSpiderChartView.swift; sourceTree = ""; }; - C4D8A560183BFDE919117D875833DBD3 /* Pods-DDSpiderChart_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-DDSpiderChart_Example.debug.xcconfig"; sourceTree = ""; }; - E0ADBA3B6ACF91C068AC6FF20E22539A /* Pods-DDSpiderChart_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-DDSpiderChart_Example-acknowledgements.plist"; sourceTree = ""; }; - E32B6143CFDF9411BD9AB8D1FE708CA9 /* Pods-DDSpiderChart_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-DDSpiderChart_Example.release.xcconfig"; sourceTree = ""; }; - EB95D8E06D3FB794B71102F64A53DBBE /* DDSpiderChart-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "DDSpiderChart-dummy.m"; sourceTree = ""; }; - ED5B73BE1295A50EA534E0A90C9932BC /* DDSpiderChartDataSetView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = DDSpiderChartDataSetView.swift; path = DDSpiderChart/Classes/DDSpiderChartDataSetView.swift; sourceTree = ""; }; - F4D40F6A4D3A53B6C9BC74B222FFF177 /* DDSpiderChart.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = DDSpiderChart.modulemap; sourceTree = ""; }; - FE5C7EAEC873A180EE8F74FB63D34EB1 /* DrawableString.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = DrawableString.swift; path = DDSpiderChart/Classes/DrawableString.swift; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 034026D422EBE9F17EBAEF4BB8F1C316 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 6D749CC5B5E7E9B517C03F20EDB5DD1C /* Foundation.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 7906832CCE50DA9D85EDFAB36B638F48 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 5650A9CCA9099D420C7897D4DACABC0F /* Foundation.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 9EB781B233861A9768EBE2E78EEED308 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 3D690F1793D8992412B2B8275A983925 /* Foundation.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 29E7D230DB8EB5D2306B715E38C1D24B /* Pods-DDSpiderChart_Example */ = { - isa = PBXGroup; - children = ( - 78706A5024F28CAFA4EF3C7C158EB3A5 /* Info.plist */, - 0C3AF5A613F7F3646E61C5B44E90D347 /* Pods-DDSpiderChart_Example.modulemap */, - 59066BEF95AB518C4D3812E53F9F1666 /* Pods-DDSpiderChart_Example-acknowledgements.markdown */, - E0ADBA3B6ACF91C068AC6FF20E22539A /* Pods-DDSpiderChart_Example-acknowledgements.plist */, - A81FBF8CBB73896E1185A7B8D5E8E61B /* Pods-DDSpiderChart_Example-dummy.m */, - 0C1864CB409DDEDB875264D5D527557B /* Pods-DDSpiderChart_Example-frameworks.sh */, - 13DED54A4C5B269EF1A2D38777D3244C /* Pods-DDSpiderChart_Example-resources.sh */, - 85074E011020D023A39DE316D2B82A6D /* Pods-DDSpiderChart_Example-umbrella.h */, - C4D8A560183BFDE919117D875833DBD3 /* Pods-DDSpiderChart_Example.debug.xcconfig */, - E32B6143CFDF9411BD9AB8D1FE708CA9 /* Pods-DDSpiderChart_Example.release.xcconfig */, - ); - name = "Pods-DDSpiderChart_Example"; - path = "Target Support Files/Pods-DDSpiderChart_Example"; - sourceTree = ""; - }; - 5E0D919E635D23B70123790B8308F8EF /* iOS */ = { - isa = PBXGroup; - children = ( - 5A16F4CFC63FAC439D7A04994F579A03 /* Foundation.framework */, - ); - name = iOS; - sourceTree = ""; - }; - 67F1ABF864591A60899BF96F8FCFD751 /* Pod */ = { - isa = PBXGroup; - children = ( - 4B7946BE5EF9B77B8B2B8C9D8160B60B /* DDSpiderChart.podspec */, - B1EF142EEEC4B4C4966A2EAFDA9E2457 /* LICENSE */, - 0F38540A81958490B644A2239AF58325 /* README.md */, - ); - name = Pod; - sourceTree = ""; - }; - 7DB346D0F39D3F0E887471402A8071AB = { - isa = PBXGroup; - children = ( - 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, - CBA02D844DD1C3B64B5D645BFE12F762 /* Development Pods */, - BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, - BF6634DE2E0E951F8B52F9D67C0E0C3D /* Products */, - 9BAE41C20885314377861C1D9DC72478 /* Targets Support Files */, - ); - sourceTree = ""; - }; - 903467A981CFF2EE845810092D1ED2CB /* DDSpiderChart */ = { - isa = PBXGroup; - children = ( - ED5B73BE1295A50EA534E0A90C9932BC /* DDSpiderChartDataSetView.swift */, - C34B2C2C6AE3A46A869B1DA5DBCE67A3 /* DDSpiderChartView.swift */, - FE5C7EAEC873A180EE8F74FB63D34EB1 /* DrawableString.swift */, - 67F1ABF864591A60899BF96F8FCFD751 /* Pod */, - FD2FAAF68A2FDB7B685E598819EF31DE /* Support Files */, - ); - name = DDSpiderChart; - path = ../..; - sourceTree = ""; - }; - 9BAE41C20885314377861C1D9DC72478 /* Targets Support Files */ = { - isa = PBXGroup; - children = ( - 29E7D230DB8EB5D2306B715E38C1D24B /* Pods-DDSpiderChart_Example */, - DAC5E3B671BF11F11EDBAB21022E1B91 /* Pods-DDSpiderChart_Tests */, - ); - name = "Targets Support Files"; - sourceTree = ""; - }; - BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { - isa = PBXGroup; - children = ( - 5E0D919E635D23B70123790B8308F8EF /* iOS */, - ); - name = Frameworks; - sourceTree = ""; - }; - BF6634DE2E0E951F8B52F9D67C0E0C3D /* Products */ = { - isa = PBXGroup; - children = ( - 7A52BCA9460D3A59BDA07C80C672EF70 /* DDSpiderChart.framework */, - A520E10C5BD5AE8E209424DD07ED19BE /* Pods_DDSpiderChart_Example.framework */, - 3C074B02D514B2822A17AC1ABEFB0A82 /* Pods_DDSpiderChart_Tests.framework */, - ); - name = Products; - sourceTree = ""; - }; - CBA02D844DD1C3B64B5D645BFE12F762 /* Development Pods */ = { - isa = PBXGroup; - children = ( - 903467A981CFF2EE845810092D1ED2CB /* DDSpiderChart */, - ); - name = "Development Pods"; - sourceTree = ""; - }; - DAC5E3B671BF11F11EDBAB21022E1B91 /* Pods-DDSpiderChart_Tests */ = { - isa = PBXGroup; - children = ( - 823DDD256565D4E97D6F66F87E35F6E6 /* Info.plist */, - 1C1852A0D929ED605DC8D8E2A2EA718D /* Pods-DDSpiderChart_Tests.modulemap */, - 1D614B4BF00350E053F0C0B912AA2838 /* Pods-DDSpiderChart_Tests-acknowledgements.markdown */, - 54A00838762287BF176FC3745FEADF3E /* Pods-DDSpiderChart_Tests-acknowledgements.plist */, - 10235C6F9070D39C6C28C3B36764AC48 /* Pods-DDSpiderChart_Tests-dummy.m */, - 74F3C34AF5B457D6B0FF2DB725C3A501 /* Pods-DDSpiderChart_Tests-frameworks.sh */, - 5E555EF4CB47C4E72BCF5624ACCA5921 /* Pods-DDSpiderChart_Tests-resources.sh */, - BA8B203E675497559F9345AEEFC69849 /* Pods-DDSpiderChart_Tests-umbrella.h */, - 1809DABCEB6DA596541211CB03329BF8 /* Pods-DDSpiderChart_Tests.debug.xcconfig */, - 9D20A54E9E1F27011BA8AC8FB9124030 /* Pods-DDSpiderChart_Tests.release.xcconfig */, - ); - name = "Pods-DDSpiderChart_Tests"; - path = "Target Support Files/Pods-DDSpiderChart_Tests"; - sourceTree = ""; - }; - FD2FAAF68A2FDB7B685E598819EF31DE /* Support Files */ = { - isa = PBXGroup; - children = ( - F4D40F6A4D3A53B6C9BC74B222FFF177 /* DDSpiderChart.modulemap */, - 386CEC6714838445FD2576C7A325C427 /* DDSpiderChart.xcconfig */, - EB95D8E06D3FB794B71102F64A53DBBE /* DDSpiderChart-dummy.m */, - 93B9B5F13281741348CA0FF9B0E144E5 /* DDSpiderChart-prefix.pch */, - 631CE92EB61CF2CE3212A706B3D11049 /* DDSpiderChart-umbrella.h */, - 2D8F61CF3C6E13FA9AB1B0CFAC32E338 /* Info.plist */, - ); - name = "Support Files"; - path = "Example/Pods/Target Support Files/DDSpiderChart"; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXHeadersBuildPhase section */ - 451385BFAA66C32A770E9EBD0F045CEE /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 1C4FA0C786C904EFE86489DDC3FCF6D0 /* Pods-DDSpiderChart_Tests-umbrella.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - B7D525EBF6C4C382E6EFD429D713BA87 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 4631CBC53D6E0BE703720A4C941E7DC2 /* DDSpiderChart-umbrella.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E52E00CC7E039F1A16F45CDE05F85C90 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - DCD4326C8A8604E71991F59B7CDBA892 /* Pods-DDSpiderChart_Example-umbrella.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXHeadersBuildPhase section */ - -/* Begin PBXNativeTarget section */ - 097B5645ED9F9CAAE4BE2BA8FE8985D8 /* DDSpiderChart */ = { - isa = PBXNativeTarget; - buildConfigurationList = 116049E1BF8853D5E95BCA333300CD41 /* Build configuration list for PBXNativeTarget "DDSpiderChart" */; - buildPhases = ( - B7D525EBF6C4C382E6EFD429D713BA87 /* Headers */, - 09F74C38A4F3A0435C52AE0DDAB46BD8 /* Sources */, - 7906832CCE50DA9D85EDFAB36B638F48 /* Frameworks */, - AE67DAB2C0FCFA8C757C10CE1F7DFC0E /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = DDSpiderChart; - productName = DDSpiderChart; - productReference = 7A52BCA9460D3A59BDA07C80C672EF70 /* DDSpiderChart.framework */; - productType = "com.apple.product-type.framework"; - }; - C2B84E42F6E666C2A0CF93D2B98EE134 /* Pods-DDSpiderChart_Tests */ = { - isa = PBXNativeTarget; - buildConfigurationList = F80F01FBDA0D27855E1129DB4B2FE00B /* Build configuration list for PBXNativeTarget "Pods-DDSpiderChart_Tests" */; - buildPhases = ( - 451385BFAA66C32A770E9EBD0F045CEE /* Headers */, - 487EEA9BF6DC645AFC4E8CD2F0087079 /* Sources */, - 034026D422EBE9F17EBAEF4BB8F1C316 /* Frameworks */, - AAC6BBBD831FF3816EAD5B293BAD35F6 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - 66702A70DD26F1D236F396ED479D637A /* PBXTargetDependency */, - ); - name = "Pods-DDSpiderChart_Tests"; - productName = "Pods-DDSpiderChart_Tests"; - productReference = 3C074B02D514B2822A17AC1ABEFB0A82 /* Pods_DDSpiderChart_Tests.framework */; - productType = "com.apple.product-type.framework"; - }; - EF8F0FFEF3AA66A85CEF19A6934DD932 /* Pods-DDSpiderChart_Example */ = { - isa = PBXNativeTarget; - buildConfigurationList = 4793B3A572CEE8A29C69383F365ACB1D /* Build configuration list for PBXNativeTarget "Pods-DDSpiderChart_Example" */; - buildPhases = ( - E52E00CC7E039F1A16F45CDE05F85C90 /* Headers */, - 865365234207CC2FB85D1DBD4C1C63B9 /* Sources */, - 9EB781B233861A9768EBE2E78EEED308 /* Frameworks */, - D098CF9885C578268135210E662A856B /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - 56216F5F946843C21309A9BB03C7A03B /* PBXTargetDependency */, - ); - name = "Pods-DDSpiderChart_Example"; - productName = "Pods-DDSpiderChart_Example"; - productReference = A520E10C5BD5AE8E209424DD07ED19BE /* Pods_DDSpiderChart_Example.framework */; - productType = "com.apple.product-type.framework"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { - isa = PBXProject; - attributes = { - LastSwiftUpdateCheck = 0930; - LastUpgradeCheck = 0930; - }; - buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - en, - ); - mainGroup = 7DB346D0F39D3F0E887471402A8071AB; - productRefGroup = BF6634DE2E0E951F8B52F9D67C0E0C3D /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 097B5645ED9F9CAAE4BE2BA8FE8985D8 /* DDSpiderChart */, - EF8F0FFEF3AA66A85CEF19A6934DD932 /* Pods-DDSpiderChart_Example */, - C2B84E42F6E666C2A0CF93D2B98EE134 /* Pods-DDSpiderChart_Tests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - AAC6BBBD831FF3816EAD5B293BAD35F6 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - AE67DAB2C0FCFA8C757C10CE1F7DFC0E /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - D098CF9885C578268135210E662A856B /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 09F74C38A4F3A0435C52AE0DDAB46BD8 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 97D71C6CD7BDD418D8693B463722AD61 /* DDSpiderChart-dummy.m in Sources */, - 782BDE273BC46E96890C725408B60627 /* DDSpiderChartDataSetView.swift in Sources */, - 9AE0AC77DA95C304184E77034FDA161B /* DDSpiderChartView.swift in Sources */, - D11A0CF9E745F5BE0740E8A22200E0F8 /* DrawableString.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 487EEA9BF6DC645AFC4E8CD2F0087079 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E1D767FF7CB0C9728FAD38DC063506CD /* Pods-DDSpiderChart_Tests-dummy.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 865365234207CC2FB85D1DBD4C1C63B9 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 55834A789B63760DB5A78B43DD791837 /* Pods-DDSpiderChart_Example-dummy.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - 56216F5F946843C21309A9BB03C7A03B /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = DDSpiderChart; - target = 097B5645ED9F9CAAE4BE2BA8FE8985D8 /* DDSpiderChart */; - targetProxy = 72659B56CF8DC56394CD940A7BF8926E /* PBXContainerItemProxy */; - }; - 66702A70DD26F1D236F396ED479D637A /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = DDSpiderChart; - target = 097B5645ED9F9CAAE4BE2BA8FE8985D8 /* DDSpiderChart */; - targetProxy = 3351B32909DC97DB0E709B8C135AC169 /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin XCBuildConfiguration section */ - 315DE5D509FC5DAD0689A10D641B33B7 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 1809DABCEB6DA596541211CB03329BF8 /* Pods-DDSpiderChart_Tests.debug.xcconfig */; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = "Target Support Files/Pods-DDSpiderChart_Tests/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-DDSpiderChart_Tests/Pods-DDSpiderChart_Tests.modulemap"; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - 35F15B6E15216057D2A08D666A743A65 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 386CEC6714838445FD2576C7A325C427 /* DDSpiderChart.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - GCC_PREFIX_HEADER = "Target Support Files/DDSpiderChart/DDSpiderChart-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/DDSpiderChart/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MODULEMAP_FILE = "Target Support Files/DDSpiderChart/DDSpiderChart.modulemap"; - PRODUCT_MODULE_NAME = DDSpiderChart; - PRODUCT_NAME = DDSpiderChart; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - 3D95FE5A0CD200D7FBDEBA8A889E4C64 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 386CEC6714838445FD2576C7A325C427 /* DDSpiderChart.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - GCC_PREFIX_HEADER = "Target Support Files/DDSpiderChart/DDSpiderChart-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/DDSpiderChart/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MODULEMAP_FILE = "Target Support Files/DDSpiderChart/DDSpiderChart.modulemap"; - PRODUCT_MODULE_NAME = DDSpiderChart; - PRODUCT_NAME = DDSpiderChart; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - 81B8F4324110F66B82155CDF0DF0703D /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = E32B6143CFDF9411BD9AB8D1FE708CA9 /* Pods-DDSpiderChart_Example.release.xcconfig */; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = "Target Support Files/Pods-DDSpiderChart_Example/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-DDSpiderChart_Example/Pods-DDSpiderChart_Example.modulemap"; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - 96434B6C8FF320C976A10DAD7174A4BB /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_ENABLE_OBJC_WEAK = 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_DOCUMENTATION_COMMENTS = YES; - 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_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGNING_ALLOWED = NO; - CODE_SIGNING_REQUIRED = NO; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_NO_COMMON_BLOCKS = YES; - GCC_PREPROCESSOR_DEFINITIONS = ( - "POD_CONFIGURATION_RELEASE=1", - "$(inherited)", - ); - 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; - MTL_FAST_MATH = YES; - PRODUCT_NAME = "$(TARGET_NAME)"; - STRIP_INSTALLED_PRODUCT = NO; - SYMROOT = "${SRCROOT}/../build"; - }; - name = Release; - }; - A22FF3B388D52540AE7F40D156683D78 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 9D20A54E9E1F27011BA8AC8FB9124030 /* Pods-DDSpiderChart_Tests.release.xcconfig */; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = "Target Support Files/Pods-DDSpiderChart_Tests/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-DDSpiderChart_Tests/Pods-DDSpiderChart_Tests.modulemap"; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - D11C82AF2204B41B80412B8DC9C1D652 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_ENABLE_OBJC_WEAK = 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_DOCUMENTATION_COMMENTS = YES; - 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_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGNING_ALLOWED = NO; - CODE_SIGNING_REQUIRED = NO; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "POD_CONFIGURATION_DEBUG=1", - "DEBUG=1", - "$(inherited)", - ); - 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 = INCLUDE_SOURCE; - MTL_FAST_MATH = YES; - ONLY_ACTIVE_ARCH = YES; - PRODUCT_NAME = "$(TARGET_NAME)"; - STRIP_INSTALLED_PRODUCT = NO; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SYMROOT = "${SRCROOT}/../build"; - }; - name = Debug; - }; - DB0C43AF3F203753EB2964CC7B5106A9 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = C4D8A560183BFDE919117D875833DBD3 /* Pods-DDSpiderChart_Example.debug.xcconfig */; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = "Target Support Files/Pods-DDSpiderChart_Example/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-DDSpiderChart_Example/Pods-DDSpiderChart_Example.modulemap"; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 116049E1BF8853D5E95BCA333300CD41 /* Build configuration list for PBXNativeTarget "DDSpiderChart" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 35F15B6E15216057D2A08D666A743A65 /* Debug */, - 3D95FE5A0CD200D7FBDEBA8A889E4C64 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - D11C82AF2204B41B80412B8DC9C1D652 /* Debug */, - 96434B6C8FF320C976A10DAD7174A4BB /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 4793B3A572CEE8A29C69383F365ACB1D /* Build configuration list for PBXNativeTarget "Pods-DDSpiderChart_Example" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - DB0C43AF3F203753EB2964CC7B5106A9 /* Debug */, - 81B8F4324110F66B82155CDF0DF0703D /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - F80F01FBDA0D27855E1129DB4B2FE00B /* Build configuration list for PBXNativeTarget "Pods-DDSpiderChart_Tests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 315DE5D509FC5DAD0689A10D641B33B7 /* Debug */, - A22FF3B388D52540AE7F40D156683D78 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; -} diff --git a/Example/Pods/Target Support Files/DDSpiderChart/DDSpiderChart-dummy.m b/Example/Pods/Target Support Files/DDSpiderChart/DDSpiderChart-dummy.m deleted file mode 100644 index 6325e07..0000000 --- a/Example/Pods/Target Support Files/DDSpiderChart/DDSpiderChart-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import -@interface PodsDummy_DDSpiderChart : NSObject -@end -@implementation PodsDummy_DDSpiderChart -@end diff --git a/Example/Pods/Target Support Files/DDSpiderChart/DDSpiderChart-prefix.pch b/Example/Pods/Target Support Files/DDSpiderChart/DDSpiderChart-prefix.pch deleted file mode 100644 index beb2a24..0000000 --- a/Example/Pods/Target Support Files/DDSpiderChart/DDSpiderChart-prefix.pch +++ /dev/null @@ -1,12 +0,0 @@ -#ifdef __OBJC__ -#import -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - diff --git a/Example/Pods/Target Support Files/DDSpiderChart/DDSpiderChart-umbrella.h b/Example/Pods/Target Support Files/DDSpiderChart/DDSpiderChart-umbrella.h deleted file mode 100644 index 4ca4d0a..0000000 --- a/Example/Pods/Target Support Files/DDSpiderChart/DDSpiderChart-umbrella.h +++ /dev/null @@ -1,16 +0,0 @@ -#ifdef __OBJC__ -#import -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - - -FOUNDATION_EXPORT double DDSpiderChartVersionNumber; -FOUNDATION_EXPORT const unsigned char DDSpiderChartVersionString[]; - diff --git a/Example/Pods/Target Support Files/DDSpiderChart/DDSpiderChart.modulemap b/Example/Pods/Target Support Files/DDSpiderChart/DDSpiderChart.modulemap deleted file mode 100644 index d29d7d3..0000000 --- a/Example/Pods/Target Support Files/DDSpiderChart/DDSpiderChart.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module DDSpiderChart { - umbrella header "DDSpiderChart-umbrella.h" - - export * - module * { export * } -} diff --git a/Example/Pods/Target Support Files/DDSpiderChart/DDSpiderChart.xcconfig b/Example/Pods/Target Support Files/DDSpiderChart/DDSpiderChart.xcconfig deleted file mode 100644 index 620f978..0000000 --- a/Example/Pods/Target Support Files/DDSpiderChart/DDSpiderChart.xcconfig +++ /dev/null @@ -1,9 +0,0 @@ -CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/DDSpiderChart -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" -PODS_BUILD_DIR = ${BUILD_DIR} -PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_ROOT = ${SRCROOT} -PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. -PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} -SKIP_INSTALL = YES diff --git a/Example/Pods/Target Support Files/DDSpiderChart/Info.plist b/Example/Pods/Target Support Files/DDSpiderChart/Info.plist deleted file mode 100644 index 53e4061..0000000 --- a/Example/Pods/Target Support Files/DDSpiderChart/Info.plist +++ /dev/null @@ -1,26 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIdentifier - ${PRODUCT_BUNDLE_IDENTIFIER} - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ${PRODUCT_NAME} - CFBundlePackageType - FMWK - CFBundleShortVersionString - 0.4.0 - CFBundleSignature - ???? - CFBundleVersion - ${CURRENT_PROJECT_VERSION} - NSPrincipalClass - - - diff --git a/Example/Pods/Target Support Files/Pods-DDSpiderChart_Example/Info.plist b/Example/Pods/Target Support Files/Pods-DDSpiderChart_Example/Info.plist deleted file mode 100644 index 2243fe6..0000000 --- a/Example/Pods/Target Support Files/Pods-DDSpiderChart_Example/Info.plist +++ /dev/null @@ -1,26 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIdentifier - ${PRODUCT_BUNDLE_IDENTIFIER} - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ${PRODUCT_NAME} - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0.0 - CFBundleSignature - ???? - CFBundleVersion - ${CURRENT_PROJECT_VERSION} - NSPrincipalClass - - - diff --git a/Example/Pods/Target Support Files/Pods-DDSpiderChart_Example/Pods-DDSpiderChart_Example-acknowledgements.markdown b/Example/Pods/Target Support Files/Pods-DDSpiderChart_Example/Pods-DDSpiderChart_Example-acknowledgements.markdown deleted file mode 100644 index 77c36b3..0000000 --- a/Example/Pods/Target Support Files/Pods-DDSpiderChart_Example/Pods-DDSpiderChart_Example-acknowledgements.markdown +++ /dev/null @@ -1,26 +0,0 @@ -# Acknowledgements -This application makes use of the following third party libraries: - -## DDSpiderChart - -Copyright (c) 2017 Deniz Adalar - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - -Generated by CocoaPods - https://cocoapods.org diff --git a/Example/Pods/Target Support Files/Pods-DDSpiderChart_Example/Pods-DDSpiderChart_Example-acknowledgements.plist b/Example/Pods/Target Support Files/Pods-DDSpiderChart_Example/Pods-DDSpiderChart_Example-acknowledgements.plist deleted file mode 100644 index 4f2c57c..0000000 --- a/Example/Pods/Target Support Files/Pods-DDSpiderChart_Example/Pods-DDSpiderChart_Example-acknowledgements.plist +++ /dev/null @@ -1,58 +0,0 @@ - - - - - PreferenceSpecifiers - - - FooterText - This application makes use of the following third party libraries: - Title - Acknowledgements - Type - PSGroupSpecifier - - - FooterText - Copyright (c) 2017 Deniz Adalar <me@dadalar.net> - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - - License - MIT - Title - DDSpiderChart - Type - PSGroupSpecifier - - - FooterText - Generated by CocoaPods - https://cocoapods.org - Title - - Type - PSGroupSpecifier - - - StringsTable - Acknowledgements - Title - Acknowledgements - - diff --git a/Example/Pods/Target Support Files/Pods-DDSpiderChart_Example/Pods-DDSpiderChart_Example-dummy.m b/Example/Pods/Target Support Files/Pods-DDSpiderChart_Example/Pods-DDSpiderChart_Example-dummy.m deleted file mode 100644 index 826e279..0000000 --- a/Example/Pods/Target Support Files/Pods-DDSpiderChart_Example/Pods-DDSpiderChart_Example-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import -@interface PodsDummy_Pods_DDSpiderChart_Example : NSObject -@end -@implementation PodsDummy_Pods_DDSpiderChart_Example -@end diff --git a/Example/Pods/Target Support Files/Pods-DDSpiderChart_Example/Pods-DDSpiderChart_Example-frameworks.sh b/Example/Pods/Target Support Files/Pods-DDSpiderChart_Example/Pods-DDSpiderChart_Example-frameworks.sh deleted file mode 100755 index 291a194..0000000 --- a/Example/Pods/Target Support Files/Pods-DDSpiderChart_Example/Pods-DDSpiderChart_Example-frameworks.sh +++ /dev/null @@ -1,153 +0,0 @@ -#!/bin/sh -set -e -set -u -set -o pipefail - -if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then - # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy - # frameworks to, so exit 0 (signalling the script phase was successful). - exit 0 -fi - -echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" -mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - -COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}" -SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" - -# Used as a return value for each invocation of `strip_invalid_archs` function. -STRIP_BINARY_RETVAL=0 - -# This protects against multiple targets copying the same framework dependency at the same time. The solution -# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html -RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") - -# Copies and strips a vendored framework -install_framework() -{ - if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then - local source="${BUILT_PRODUCTS_DIR}/$1" - elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then - local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" - elif [ -r "$1" ]; then - local source="$1" - fi - - local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - - if [ -L "${source}" ]; then - echo "Symlinked..." - source="$(readlink "${source}")" - fi - - # Use filter instead of exclude so missing patterns don't throw errors. - echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" - rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" - - local basename - basename="$(basename -s .framework "$1")" - binary="${destination}/${basename}.framework/${basename}" - if ! [ -r "$binary" ]; then - binary="${destination}/${basename}" - fi - - # Strip invalid architectures so "fat" simulator / device frameworks work on device - if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then - strip_invalid_archs "$binary" - fi - - # Resign the code if required by the build settings to avoid unstable apps - code_sign_if_enabled "${destination}/$(basename "$1")" - - # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. - if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then - local swift_runtime_libs - swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) - for lib in $swift_runtime_libs; do - echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" - rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" - code_sign_if_enabled "${destination}/${lib}" - done - fi -} - -# Copies and strips a vendored dSYM -install_dsym() { - local source="$1" - if [ -r "$source" ]; then - # Copy the dSYM into a the targets temp dir. - echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\"" - rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}" - - local basename - basename="$(basename -s .framework.dSYM "$source")" - binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}" - - # Strip invalid architectures so "fat" simulator / device frameworks work on device - if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then - strip_invalid_archs "$binary" - fi - - if [[ $STRIP_BINARY_RETVAL == 1 ]]; then - # Move the stripped file into its final destination. - echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"" - rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}" - else - # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing. - touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM" - fi - fi -} - -# Signs a framework with the provided identity -code_sign_if_enabled() { - if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then - # Use the current code_sign_identitiy - echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" - local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'" - - if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then - code_sign_cmd="$code_sign_cmd &" - fi - echo "$code_sign_cmd" - eval "$code_sign_cmd" - fi -} - -# Strip invalid architectures -strip_invalid_archs() { - binary="$1" - # Get architectures for current target binary - binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" - # Intersect them with the architectures we are building for - intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" - # If there are no archs supported by this binary then warn the user - if [[ -z "$intersected_archs" ]]; then - echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." - STRIP_BINARY_RETVAL=0 - return - fi - stripped="" - for arch in $binary_archs; do - if ! [[ "${ARCHS}" == *"$arch"* ]]; then - # Strip non-valid architectures in-place - lipo -remove "$arch" -output "$binary" "$binary" || exit 1 - stripped="$stripped $arch" - fi - done - if [[ "$stripped" ]]; then - echo "Stripped $binary of architectures:$stripped" - fi - STRIP_BINARY_RETVAL=1 -} - - -if [[ "$CONFIGURATION" == "Debug" ]]; then - install_framework "${BUILT_PRODUCTS_DIR}/DDSpiderChart/DDSpiderChart.framework" -fi -if [[ "$CONFIGURATION" == "Release" ]]; then - install_framework "${BUILT_PRODUCTS_DIR}/DDSpiderChart/DDSpiderChart.framework" -fi -if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then - wait -fi diff --git a/Example/Pods/Target Support Files/Pods-DDSpiderChart_Example/Pods-DDSpiderChart_Example-resources.sh b/Example/Pods/Target Support Files/Pods-DDSpiderChart_Example/Pods-DDSpiderChart_Example-resources.sh deleted file mode 100755 index 345301f..0000000 --- a/Example/Pods/Target Support Files/Pods-DDSpiderChart_Example/Pods-DDSpiderChart_Example-resources.sh +++ /dev/null @@ -1,118 +0,0 @@ -#!/bin/sh -set -e -set -u -set -o pipefail - -if [ -z ${UNLOCALIZED_RESOURCES_FOLDER_PATH+x} ]; then - # If UNLOCALIZED_RESOURCES_FOLDER_PATH is not set, then there's nowhere for us to copy - # resources to, so exit 0 (signalling the script phase was successful). - exit 0 -fi - -mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" - -RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt -> "$RESOURCES_TO_COPY" - -XCASSET_FILES=() - -# This protects against multiple targets copying the same framework dependency at the same time. The solution -# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html -RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") - -case "${TARGETED_DEVICE_FAMILY:-}" in - 1,2) - TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" - ;; - 1) - TARGET_DEVICE_ARGS="--target-device iphone" - ;; - 2) - TARGET_DEVICE_ARGS="--target-device ipad" - ;; - 3) - TARGET_DEVICE_ARGS="--target-device tv" - ;; - 4) - TARGET_DEVICE_ARGS="--target-device watch" - ;; - *) - TARGET_DEVICE_ARGS="--target-device mac" - ;; -esac - -install_resource() -{ - if [[ "$1" = /* ]] ; then - RESOURCE_PATH="$1" - else - RESOURCE_PATH="${PODS_ROOT}/$1" - fi - if [[ ! -e "$RESOURCE_PATH" ]] ; then - cat << EOM -error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. -EOM - exit 1 - fi - case $RESOURCE_PATH in - *.storyboard) - echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true - ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} - ;; - *.xib) - echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true - ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} - ;; - *.framework) - echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true - mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true - rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - ;; - *.xcdatamodel) - echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true - xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" - ;; - *.xcdatamodeld) - echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true - xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" - ;; - *.xcmappingmodel) - echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true - xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" - ;; - *.xcassets) - ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" - XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") - ;; - *) - echo "$RESOURCE_PATH" || true - echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" - ;; - esac -} - -mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then - mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" - rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -fi -rm -f "$RESOURCES_TO_COPY" - -if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "${XCASSET_FILES:-}" ] -then - # Find all other xcassets (this unfortunately includes those of path pods and other targets). - OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) - while read line; do - if [[ $line != "${PODS_ROOT}*" ]]; then - XCASSET_FILES+=("$line") - fi - done <<<"$OTHER_XCASSETS" - - if [ -z ${ASSETCATALOG_COMPILER_APPICON_NAME+x} ]; then - printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" - else - printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" --app-icon "${ASSETCATALOG_COMPILER_APPICON_NAME}" --output-partial-info-plist "${TARGET_TEMP_DIR}/assetcatalog_generated_info_cocoapods.plist" - fi -fi diff --git a/Example/Pods/Target Support Files/Pods-DDSpiderChart_Example/Pods-DDSpiderChart_Example-umbrella.h b/Example/Pods/Target Support Files/Pods-DDSpiderChart_Example/Pods-DDSpiderChart_Example-umbrella.h deleted file mode 100644 index 8e88eaf..0000000 --- a/Example/Pods/Target Support Files/Pods-DDSpiderChart_Example/Pods-DDSpiderChart_Example-umbrella.h +++ /dev/null @@ -1,16 +0,0 @@ -#ifdef __OBJC__ -#import -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - - -FOUNDATION_EXPORT double Pods_DDSpiderChart_ExampleVersionNumber; -FOUNDATION_EXPORT const unsigned char Pods_DDSpiderChart_ExampleVersionString[]; - diff --git a/Example/Pods/Target Support Files/Pods-DDSpiderChart_Example/Pods-DDSpiderChart_Example.debug.xcconfig b/Example/Pods/Target Support Files/Pods-DDSpiderChart_Example/Pods-DDSpiderChart_Example.debug.xcconfig deleted file mode 100644 index 0720a96..0000000 --- a/Example/Pods/Target Support Files/Pods-DDSpiderChart_Example/Pods-DDSpiderChart_Example.debug.xcconfig +++ /dev/null @@ -1,11 +0,0 @@ -ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES -FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/DDSpiderChart" -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' -OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/DDSpiderChart/DDSpiderChart.framework/Headers" -OTHER_LDFLAGS = $(inherited) -framework "DDSpiderChart" -OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" -PODS_BUILD_DIR = ${BUILD_DIR} -PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_PODFILE_DIR_PATH = ${SRCROOT}/. -PODS_ROOT = ${SRCROOT}/Pods diff --git a/Example/Pods/Target Support Files/Pods-DDSpiderChart_Example/Pods-DDSpiderChart_Example.modulemap b/Example/Pods/Target Support Files/Pods-DDSpiderChart_Example/Pods-DDSpiderChart_Example.modulemap deleted file mode 100644 index 6b921ec..0000000 --- a/Example/Pods/Target Support Files/Pods-DDSpiderChart_Example/Pods-DDSpiderChart_Example.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module Pods_DDSpiderChart_Example { - umbrella header "Pods-DDSpiderChart_Example-umbrella.h" - - export * - module * { export * } -} diff --git a/Example/Pods/Target Support Files/Pods-DDSpiderChart_Example/Pods-DDSpiderChart_Example.release.xcconfig b/Example/Pods/Target Support Files/Pods-DDSpiderChart_Example/Pods-DDSpiderChart_Example.release.xcconfig deleted file mode 100644 index 0720a96..0000000 --- a/Example/Pods/Target Support Files/Pods-DDSpiderChart_Example/Pods-DDSpiderChart_Example.release.xcconfig +++ /dev/null @@ -1,11 +0,0 @@ -ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES -FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/DDSpiderChart" -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' -OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/DDSpiderChart/DDSpiderChart.framework/Headers" -OTHER_LDFLAGS = $(inherited) -framework "DDSpiderChart" -OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" -PODS_BUILD_DIR = ${BUILD_DIR} -PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_PODFILE_DIR_PATH = ${SRCROOT}/. -PODS_ROOT = ${SRCROOT}/Pods diff --git a/Example/Pods/Target Support Files/Pods-DDSpiderChart_Tests/Info.plist b/Example/Pods/Target Support Files/Pods-DDSpiderChart_Tests/Info.plist deleted file mode 100644 index 2243fe6..0000000 --- a/Example/Pods/Target Support Files/Pods-DDSpiderChart_Tests/Info.plist +++ /dev/null @@ -1,26 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIdentifier - ${PRODUCT_BUNDLE_IDENTIFIER} - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ${PRODUCT_NAME} - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0.0 - CFBundleSignature - ???? - CFBundleVersion - ${CURRENT_PROJECT_VERSION} - NSPrincipalClass - - - diff --git a/Example/Pods/Target Support Files/Pods-DDSpiderChart_Tests/Pods-DDSpiderChart_Tests-acknowledgements.markdown b/Example/Pods/Target Support Files/Pods-DDSpiderChart_Tests/Pods-DDSpiderChart_Tests-acknowledgements.markdown deleted file mode 100644 index 77c36b3..0000000 --- a/Example/Pods/Target Support Files/Pods-DDSpiderChart_Tests/Pods-DDSpiderChart_Tests-acknowledgements.markdown +++ /dev/null @@ -1,26 +0,0 @@ -# Acknowledgements -This application makes use of the following third party libraries: - -## DDSpiderChart - -Copyright (c) 2017 Deniz Adalar - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - -Generated by CocoaPods - https://cocoapods.org diff --git a/Example/Pods/Target Support Files/Pods-DDSpiderChart_Tests/Pods-DDSpiderChart_Tests-acknowledgements.plist b/Example/Pods/Target Support Files/Pods-DDSpiderChart_Tests/Pods-DDSpiderChart_Tests-acknowledgements.plist deleted file mode 100644 index 4f2c57c..0000000 --- a/Example/Pods/Target Support Files/Pods-DDSpiderChart_Tests/Pods-DDSpiderChart_Tests-acknowledgements.plist +++ /dev/null @@ -1,58 +0,0 @@ - - - - - PreferenceSpecifiers - - - FooterText - This application makes use of the following third party libraries: - Title - Acknowledgements - Type - PSGroupSpecifier - - - FooterText - Copyright (c) 2017 Deniz Adalar <me@dadalar.net> - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - - License - MIT - Title - DDSpiderChart - Type - PSGroupSpecifier - - - FooterText - Generated by CocoaPods - https://cocoapods.org - Title - - Type - PSGroupSpecifier - - - StringsTable - Acknowledgements - Title - Acknowledgements - - diff --git a/Example/Pods/Target Support Files/Pods-DDSpiderChart_Tests/Pods-DDSpiderChart_Tests-dummy.m b/Example/Pods/Target Support Files/Pods-DDSpiderChart_Tests/Pods-DDSpiderChart_Tests-dummy.m deleted file mode 100644 index 5081c3a..0000000 --- a/Example/Pods/Target Support Files/Pods-DDSpiderChart_Tests/Pods-DDSpiderChart_Tests-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import -@interface PodsDummy_Pods_DDSpiderChart_Tests : NSObject -@end -@implementation PodsDummy_Pods_DDSpiderChart_Tests -@end diff --git a/Example/Pods/Target Support Files/Pods-DDSpiderChart_Tests/Pods-DDSpiderChart_Tests-frameworks.sh b/Example/Pods/Target Support Files/Pods-DDSpiderChart_Tests/Pods-DDSpiderChart_Tests-frameworks.sh deleted file mode 100755 index 291a194..0000000 --- a/Example/Pods/Target Support Files/Pods-DDSpiderChart_Tests/Pods-DDSpiderChart_Tests-frameworks.sh +++ /dev/null @@ -1,153 +0,0 @@ -#!/bin/sh -set -e -set -u -set -o pipefail - -if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then - # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy - # frameworks to, so exit 0 (signalling the script phase was successful). - exit 0 -fi - -echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" -mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - -COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}" -SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" - -# Used as a return value for each invocation of `strip_invalid_archs` function. -STRIP_BINARY_RETVAL=0 - -# This protects against multiple targets copying the same framework dependency at the same time. The solution -# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html -RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") - -# Copies and strips a vendored framework -install_framework() -{ - if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then - local source="${BUILT_PRODUCTS_DIR}/$1" - elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then - local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" - elif [ -r "$1" ]; then - local source="$1" - fi - - local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - - if [ -L "${source}" ]; then - echo "Symlinked..." - source="$(readlink "${source}")" - fi - - # Use filter instead of exclude so missing patterns don't throw errors. - echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" - rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" - - local basename - basename="$(basename -s .framework "$1")" - binary="${destination}/${basename}.framework/${basename}" - if ! [ -r "$binary" ]; then - binary="${destination}/${basename}" - fi - - # Strip invalid architectures so "fat" simulator / device frameworks work on device - if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then - strip_invalid_archs "$binary" - fi - - # Resign the code if required by the build settings to avoid unstable apps - code_sign_if_enabled "${destination}/$(basename "$1")" - - # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. - if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then - local swift_runtime_libs - swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) - for lib in $swift_runtime_libs; do - echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" - rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" - code_sign_if_enabled "${destination}/${lib}" - done - fi -} - -# Copies and strips a vendored dSYM -install_dsym() { - local source="$1" - if [ -r "$source" ]; then - # Copy the dSYM into a the targets temp dir. - echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\"" - rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}" - - local basename - basename="$(basename -s .framework.dSYM "$source")" - binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}" - - # Strip invalid architectures so "fat" simulator / device frameworks work on device - if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then - strip_invalid_archs "$binary" - fi - - if [[ $STRIP_BINARY_RETVAL == 1 ]]; then - # Move the stripped file into its final destination. - echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"" - rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}" - else - # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing. - touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM" - fi - fi -} - -# Signs a framework with the provided identity -code_sign_if_enabled() { - if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then - # Use the current code_sign_identitiy - echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" - local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'" - - if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then - code_sign_cmd="$code_sign_cmd &" - fi - echo "$code_sign_cmd" - eval "$code_sign_cmd" - fi -} - -# Strip invalid architectures -strip_invalid_archs() { - binary="$1" - # Get architectures for current target binary - binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" - # Intersect them with the architectures we are building for - intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" - # If there are no archs supported by this binary then warn the user - if [[ -z "$intersected_archs" ]]; then - echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." - STRIP_BINARY_RETVAL=0 - return - fi - stripped="" - for arch in $binary_archs; do - if ! [[ "${ARCHS}" == *"$arch"* ]]; then - # Strip non-valid architectures in-place - lipo -remove "$arch" -output "$binary" "$binary" || exit 1 - stripped="$stripped $arch" - fi - done - if [[ "$stripped" ]]; then - echo "Stripped $binary of architectures:$stripped" - fi - STRIP_BINARY_RETVAL=1 -} - - -if [[ "$CONFIGURATION" == "Debug" ]]; then - install_framework "${BUILT_PRODUCTS_DIR}/DDSpiderChart/DDSpiderChart.framework" -fi -if [[ "$CONFIGURATION" == "Release" ]]; then - install_framework "${BUILT_PRODUCTS_DIR}/DDSpiderChart/DDSpiderChart.framework" -fi -if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then - wait -fi diff --git a/Example/Pods/Target Support Files/Pods-DDSpiderChart_Tests/Pods-DDSpiderChart_Tests-resources.sh b/Example/Pods/Target Support Files/Pods-DDSpiderChart_Tests/Pods-DDSpiderChart_Tests-resources.sh deleted file mode 100755 index 345301f..0000000 --- a/Example/Pods/Target Support Files/Pods-DDSpiderChart_Tests/Pods-DDSpiderChart_Tests-resources.sh +++ /dev/null @@ -1,118 +0,0 @@ -#!/bin/sh -set -e -set -u -set -o pipefail - -if [ -z ${UNLOCALIZED_RESOURCES_FOLDER_PATH+x} ]; then - # If UNLOCALIZED_RESOURCES_FOLDER_PATH is not set, then there's nowhere for us to copy - # resources to, so exit 0 (signalling the script phase was successful). - exit 0 -fi - -mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" - -RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt -> "$RESOURCES_TO_COPY" - -XCASSET_FILES=() - -# This protects against multiple targets copying the same framework dependency at the same time. The solution -# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html -RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") - -case "${TARGETED_DEVICE_FAMILY:-}" in - 1,2) - TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" - ;; - 1) - TARGET_DEVICE_ARGS="--target-device iphone" - ;; - 2) - TARGET_DEVICE_ARGS="--target-device ipad" - ;; - 3) - TARGET_DEVICE_ARGS="--target-device tv" - ;; - 4) - TARGET_DEVICE_ARGS="--target-device watch" - ;; - *) - TARGET_DEVICE_ARGS="--target-device mac" - ;; -esac - -install_resource() -{ - if [[ "$1" = /* ]] ; then - RESOURCE_PATH="$1" - else - RESOURCE_PATH="${PODS_ROOT}/$1" - fi - if [[ ! -e "$RESOURCE_PATH" ]] ; then - cat << EOM -error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. -EOM - exit 1 - fi - case $RESOURCE_PATH in - *.storyboard) - echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true - ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} - ;; - *.xib) - echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true - ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} - ;; - *.framework) - echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true - mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true - rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - ;; - *.xcdatamodel) - echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true - xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" - ;; - *.xcdatamodeld) - echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true - xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" - ;; - *.xcmappingmodel) - echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true - xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" - ;; - *.xcassets) - ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" - XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") - ;; - *) - echo "$RESOURCE_PATH" || true - echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" - ;; - esac -} - -mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then - mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" - rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -fi -rm -f "$RESOURCES_TO_COPY" - -if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "${XCASSET_FILES:-}" ] -then - # Find all other xcassets (this unfortunately includes those of path pods and other targets). - OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) - while read line; do - if [[ $line != "${PODS_ROOT}*" ]]; then - XCASSET_FILES+=("$line") - fi - done <<<"$OTHER_XCASSETS" - - if [ -z ${ASSETCATALOG_COMPILER_APPICON_NAME+x} ]; then - printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" - else - printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" --app-icon "${ASSETCATALOG_COMPILER_APPICON_NAME}" --output-partial-info-plist "${TARGET_TEMP_DIR}/assetcatalog_generated_info_cocoapods.plist" - fi -fi diff --git a/Example/Pods/Target Support Files/Pods-DDSpiderChart_Tests/Pods-DDSpiderChart_Tests-umbrella.h b/Example/Pods/Target Support Files/Pods-DDSpiderChart_Tests/Pods-DDSpiderChart_Tests-umbrella.h deleted file mode 100644 index 1ccddb6..0000000 --- a/Example/Pods/Target Support Files/Pods-DDSpiderChart_Tests/Pods-DDSpiderChart_Tests-umbrella.h +++ /dev/null @@ -1,16 +0,0 @@ -#ifdef __OBJC__ -#import -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - - -FOUNDATION_EXPORT double Pods_DDSpiderChart_TestsVersionNumber; -FOUNDATION_EXPORT const unsigned char Pods_DDSpiderChart_TestsVersionString[]; - diff --git a/Example/Pods/Target Support Files/Pods-DDSpiderChart_Tests/Pods-DDSpiderChart_Tests.debug.xcconfig b/Example/Pods/Target Support Files/Pods-DDSpiderChart_Tests/Pods-DDSpiderChart_Tests.debug.xcconfig deleted file mode 100644 index 0720a96..0000000 --- a/Example/Pods/Target Support Files/Pods-DDSpiderChart_Tests/Pods-DDSpiderChart_Tests.debug.xcconfig +++ /dev/null @@ -1,11 +0,0 @@ -ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES -FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/DDSpiderChart" -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' -OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/DDSpiderChart/DDSpiderChart.framework/Headers" -OTHER_LDFLAGS = $(inherited) -framework "DDSpiderChart" -OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" -PODS_BUILD_DIR = ${BUILD_DIR} -PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_PODFILE_DIR_PATH = ${SRCROOT}/. -PODS_ROOT = ${SRCROOT}/Pods diff --git a/Example/Pods/Target Support Files/Pods-DDSpiderChart_Tests/Pods-DDSpiderChart_Tests.modulemap b/Example/Pods/Target Support Files/Pods-DDSpiderChart_Tests/Pods-DDSpiderChart_Tests.modulemap deleted file mode 100644 index f40a369..0000000 --- a/Example/Pods/Target Support Files/Pods-DDSpiderChart_Tests/Pods-DDSpiderChart_Tests.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module Pods_DDSpiderChart_Tests { - umbrella header "Pods-DDSpiderChart_Tests-umbrella.h" - - export * - module * { export * } -} diff --git a/Example/Pods/Target Support Files/Pods-DDSpiderChart_Tests/Pods-DDSpiderChart_Tests.release.xcconfig b/Example/Pods/Target Support Files/Pods-DDSpiderChart_Tests/Pods-DDSpiderChart_Tests.release.xcconfig deleted file mode 100644 index 0720a96..0000000 --- a/Example/Pods/Target Support Files/Pods-DDSpiderChart_Tests/Pods-DDSpiderChart_Tests.release.xcconfig +++ /dev/null @@ -1,11 +0,0 @@ -ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES -FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/DDSpiderChart" -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' -OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/DDSpiderChart/DDSpiderChart.framework/Headers" -OTHER_LDFLAGS = $(inherited) -framework "DDSpiderChart" -OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" -PODS_BUILD_DIR = ${BUILD_DIR} -PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_PODFILE_DIR_PATH = ${SRCROOT}/. -PODS_ROOT = ${SRCROOT}/Pods diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..571fc55 --- /dev/null +++ b/Package.swift @@ -0,0 +1,26 @@ +// swift-tools-version: 5.8 +// The swift-tools-version declares the minimum version of Swift required to build this package. + +import PackageDescription + +let package = Package( + name: "DDSpiderChart", + platforms: [ + .iOS(.v11) + ], + products: [ + // Products define the executables and libraries a package produces, making them visible to other packages. + .library( + name: "DDSpiderChart", + targets: ["DDSpiderChart"]), + ], + targets: [ + // Targets are the basic building blocks of a package, defining a module or a test suite. + // Targets can depend on other targets in this package and products from dependencies. + .target( + name: "DDSpiderChart"), + .testTarget( + name: "DDSpiderChartTests", + dependencies: ["DDSpiderChart"]), + ] +) diff --git a/README.md b/README.md index a8eb342..0af3212 100644 --- a/README.md +++ b/README.md @@ -10,13 +10,15 @@ Easy to use Spider (Radar) Chart library for iOS written in Swift.

+

## Requirements -- iOS 8.0+ / macOS 10.10+ / tvOS 9.0+ / watchOS 2.0+ -- Xcode 8.0+ +- iOS 11.0+ / macOS 11.10+ / tvOS 11.0+ / watchOS 9.0+ +- Xcode 12.0+ - Swift 3.0+ +- SwiftUI 14+ ## Installation @@ -29,6 +31,17 @@ it, simply add the following line to your Podfile: pod "DDSpiderChart" ``` +#### Swift Package Manager + +The [Swift Package Manager](https://swift.org/package-manager/) is a tool for automating the distribution of Swift code and is integrated into the swift compiler. +Once you have your Swift package set up, adding TKRadarChart as a dependency is as easy as adding it to the `dependencies` value of your `Package.swift. + +```swift +dependencies: [ + .package(url: "https://github.com/dadalar/DDSpiderChart", .upToNextMajor(from: "0.6")) +] +``` + ## Usage ### Styling in Interface Builder @@ -47,6 +60,19 @@ spiderChartView.addDataSet(values: [1.0, 0.5, 0.75, 0.6], color: .red) // Add fi spiderChartView.addDataSet(values: [0.9, 0.7, 0.75, 0.7], color: .blue) // Add second data set ``` +To create a new instance of the chart in SwiftUI: +```swift +DDSpiderChart( + axes: ["Axis 1", "Axis 2", "Axis 3", "Axis 4"], + values: [ + DDSpiderChartEntries(values: [1.0, 0.5, 0.75, 0.6], color: .red), + DDSpiderChartEntries(values: [0.9, 0.7, 0.75, 0.7], color: .blue), + ], + fontTitle: .boldSystemFont(ofSize: 16), + textColor: .black +).frame(width: 300, height: 300) +``` + To remove a data set from chart: ```swift let dataSet1 = spiderChartView.addDataSet(values: [0.9, 0.7, 0.75, 0.7], color: .blue) // Add second data set @@ -81,6 +107,11 @@ override func viewDidLoad() { Deniz Adalar, me@dadalar.net + +## Contributors + +Pablo Ruan, pabloruan@outlook.com (SwiftUI, SPM) + ## License DDSpiderChart is available under the MIT license. See the LICENSE file for more info. diff --git a/Screenshots/sample-movie.gif b/Screenshots/sample-movie.gif new file mode 100644 index 0000000..89ff6ad Binary files /dev/null and b/Screenshots/sample-movie.gif differ diff --git a/DDSpiderChart/Classes/.gitkeep b/Sources/DDSpiderChart/Classes/.gitkeep similarity index 100% rename from DDSpiderChart/Classes/.gitkeep rename to Sources/DDSpiderChart/Classes/.gitkeep diff --git a/DDSpiderChart/Classes/DDSpiderChartDataSetView.swift b/Sources/DDSpiderChart/Classes/DDSpiderChartDataSetView.swift similarity index 100% rename from DDSpiderChart/Classes/DDSpiderChartDataSetView.swift rename to Sources/DDSpiderChart/Classes/DDSpiderChartDataSetView.swift diff --git a/Sources/DDSpiderChart/Classes/DDSpiderChartSwiftUI.swift b/Sources/DDSpiderChart/Classes/DDSpiderChartSwiftUI.swift new file mode 100644 index 0000000..a3026a9 --- /dev/null +++ b/Sources/DDSpiderChart/Classes/DDSpiderChartSwiftUI.swift @@ -0,0 +1,85 @@ +// +// DDSpiderChart.swift +// DDSpiderChart +// +// Created by Pablo Ruan on 12/05/23. +// + +import Foundation +#if canImport(SwiftUI) + import SwiftUI +#endif + +@available(iOS 14.0.0, *) +public struct DDSpiderChart: UIViewRepresentable { + + private let axes: [String] + private let values: [DDSpiderChartEntries] + private let color: Color + private let circleCount: Int + private let circleGap: CGFloat + private let endLineCircles: Bool + private let fontTitle: UIFont + private let textColor: Color + + public init(axes: [String] = [], + values: [DDSpiderChartEntries] = [], + color: Color = .gray, + circleCount: Int = 10, + circleGap: CGFloat = 10, + endLineCircles: Bool = true, + fontTitle: UIFont = .boldSystemFont(ofSize: 16), + textColor: Color = Color.black) { + self.axes = axes + self.values = values + self.color = color + self.circleCount = circleCount + self.circleGap = circleGap + self.endLineCircles = endLineCircles + self.fontTitle = fontTitle + self.textColor = textColor + } + + public func makeUIView(context: Context) -> DDSpiderChartView { + let chart = DDSpiderChartView() + chart.backgroundColor = .clear + return chart + } + + public func updateUIView(_ uiView: DDSpiderChartView, context: Context) { + uiView.circleCount = circleCount + uiView.circleGap = circleGap + uiView.color = UIColor(color) + uiView.endLineCircles = endLineCircles + uiView.axes = axes.map { applyStyle($0) } + values.forEach { + uiView.addDataSet(values: $0.values, color: UIColor($0.color)) + } + } + + func applyStyle(_ text: String) -> NSAttributedString { + let attributedString = NSMutableAttributedString() + let color = UIColor(textColor) + attributedString.append( + NSAttributedString( + string: text, + attributes: [ + NSAttributedString.Key.foregroundColor: color, + .font: fontTitle + ] + ) + ) + return attributedString + } +} + +@available(iOS 14.0, *) +public struct DDSpiderChartEntries { + var values: [Float] + var color: Color + + public init(values: [Float], color: Color) { + self.values = values + self.color = color + } +} diff --git a/DDSpiderChart/Classes/DDSpiderChartView.swift b/Sources/DDSpiderChart/Classes/DDSpiderChartView.swift similarity index 96% rename from DDSpiderChart/Classes/DDSpiderChartView.swift rename to Sources/DDSpiderChart/Classes/DDSpiderChartView.swift index cb8f173..38d0b70 100644 --- a/DDSpiderChart/Classes/DDSpiderChartView.swift +++ b/Sources/DDSpiderChart/Classes/DDSpiderChartView.swift @@ -47,6 +47,11 @@ import UIKit } } + open override func layoutSubviews() { + super.layoutSubviews() + setNeedsDisplay() + } + @discardableResult public func addDataSet(values: [Float], color: UIColor, animated: Bool = true) -> UIView? { guard values.count == axes.count else { return nil } @@ -68,7 +73,7 @@ import UIKit } public func removeDataSetView(_ view: UIView) { - guard let index = views.index(where: { $0 === view }) else { return } + guard let index = views.firstIndex(where: { $0 === view }) else { return } views.remove(at: index) view.removeFromSuperview() } diff --git a/DDSpiderChart/Classes/DrawableString.swift b/Sources/DDSpiderChart/Classes/DrawableString.swift similarity index 99% rename from DDSpiderChart/Classes/DrawableString.swift rename to Sources/DDSpiderChart/Classes/DrawableString.swift index c221ff3..cd60697 100644 --- a/DDSpiderChart/Classes/DrawableString.swift +++ b/Sources/DDSpiderChart/Classes/DrawableString.swift @@ -7,6 +7,7 @@ // import Foundation +import UIKit public protocol DrawableString { diff --git a/Tests/DDSpiderChartTests/DDSpiderChartTests.swift b/Tests/DDSpiderChartTests/DDSpiderChartTests.swift new file mode 100644 index 0000000..256b470 --- /dev/null +++ b/Tests/DDSpiderChartTests/DDSpiderChartTests.swift @@ -0,0 +1,12 @@ +import XCTest +@testable import DDSpiderChart + +final class DDSpiderChart_masterTests: XCTestCase { + func testExample() throws { + // XCTest Documenation + // https://developer.apple.com/documentation/xctest + + // Defining Test Cases and Test Methods + // https://developer.apple.com/documentation/xctest/defining_test_cases_and_test_methods + } +}