changeset 62:a2daff375b43

Update DemoProject
author Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com>
date Fri, 07 May 2021 12:28:35 +0200
parents d689500c785e
children fdc4db7f23de
files DemoProject/DemoProject.xcodeproj/project.pbxproj DemoProject/DemoProject.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved DemoProject/DemoProject.xcodeproj/project.xcworkspace/xcuserdata/dennis.xcuserdatad/UserInterfaceState.xcuserstate DemoProject/DemoProject/View1.swift DemoProject/DemoProject/View2.swift StockCharts.xcodeproj/project.xcworkspace/xcuserdata/dennis.xcuserdatad/UserInterfaceState.xcuserstate
diffstat 6 files changed, 13 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/DemoProject/DemoProject.xcodeproj/project.pbxproj	Fri May 07 12:25:28 2021 +0200
+++ b/DemoProject/DemoProject.xcodeproj/project.pbxproj	Fri May 07 12:28:35 2021 +0200
@@ -7,12 +7,12 @@
 	objects = {
 
 /* Begin PBXBuildFile section */
+		9553737B26454C37003BDDEC /* StockCharts in Frameworks */ = {isa = PBXBuildFile; productRef = 9553737A26454C37003BDDEC /* StockCharts */; };
 		95770BDF263C5F85003FA924 /* DemoProjectApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 95770BDE263C5F85003FA924 /* DemoProjectApp.swift */; };
 		95770BE1263C5F85003FA924 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 95770BE0263C5F85003FA924 /* ContentView.swift */; };
 		95770BE3263C5F86003FA924 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 95770BE2263C5F86003FA924 /* Assets.xcassets */; };
 		95770BE6263C5F86003FA924 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 95770BE5263C5F86003FA924 /* Preview Assets.xcassets */; };
 		95770BEE263C5FCD003FA924 /* View1.swift in Sources */ = {isa = PBXBuildFile; fileRef = 95770BED263C5FCD003FA924 /* View1.swift */; };
-		9584AA90264048AD00626769 /* StockCharts in Frameworks */ = {isa = PBXBuildFile; productRef = 9584AA8F264048AD00626769 /* StockCharts */; };
 		9584AA92264048D700626769 /* View2.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9584AA91264048D700626769 /* View2.swift */; };
 /* End PBXBuildFile section */
 
@@ -32,7 +32,7 @@
 			isa = PBXFrameworksBuildPhase;
 			buildActionMask = 2147483647;
 			files = (
-				9584AA90264048AD00626769 /* StockCharts in Frameworks */,
+				9553737B26454C37003BDDEC /* StockCharts in Frameworks */,
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 		};
@@ -94,7 +94,7 @@
 			);
 			name = DemoProject;
 			packageProductDependencies = (
-				9584AA8F264048AD00626769 /* StockCharts */,
+				9553737A26454C37003BDDEC /* StockCharts */,
 			);
 			productName = DemoProject;
 			productReference = 95770BDB263C5F85003FA924 /* DemoProject.app */;
@@ -124,7 +124,7 @@
 			);
 			mainGroup = 95770BD2263C5F85003FA924;
 			packageReferences = (
-				9584AA8E264048AD00626769 /* XCRemoteSwiftPackageReference "StockCharts" */,
+				9553737926454C37003BDDEC /* XCRemoteSwiftPackageReference "StockCharts" */,
 			);
 			productRefGroup = 95770BDC263C5F85003FA924 /* Products */;
 			projectDirPath = "";
@@ -346,20 +346,20 @@
 /* End XCConfigurationList section */
 
 /* Begin XCRemoteSwiftPackageReference section */
-		9584AA8E264048AD00626769 /* XCRemoteSwiftPackageReference "StockCharts" */ = {
+		9553737926454C37003BDDEC /* XCRemoteSwiftPackageReference "StockCharts" */ = {
 			isa = XCRemoteSwiftPackageReference;
 			repositoryURL = "https://github.com/denniscm190/StockCharts.git";
 			requirement = {
-				branch = main;
+				branch = denniscm190;
 				kind = branch;
 			};
 		};
 /* End XCRemoteSwiftPackageReference section */
 
 /* Begin XCSwiftPackageProductDependency section */
-		9584AA8F264048AD00626769 /* StockCharts */ = {
+		9553737A26454C37003BDDEC /* StockCharts */ = {
 			isa = XCSwiftPackageProductDependency;
-			package = 9584AA8E264048AD00626769 /* XCRemoteSwiftPackageReference "StockCharts" */;
+			package = 9553737926454C37003BDDEC /* XCRemoteSwiftPackageReference "StockCharts" */;
 			productName = StockCharts;
 		};
 /* End XCSwiftPackageProductDependency section */
--- a/DemoProject/DemoProject.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved	Fri May 07 12:25:28 2021 +0200
+++ b/DemoProject/DemoProject.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved	Fri May 07 12:28:35 2021 +0200
@@ -5,8 +5,8 @@
         "package": "StockCharts",
         "repositoryURL": "https://github.com/denniscm190/StockCharts.git",
         "state": {
-          "branch": "main",
-          "revision": "63798e38d49dfd38625aae730b6d062fbc6288f2",
+          "branch": "denniscm190",
+          "revision": "838eb395f952ad7271e53429f7cd91fb21c84108",
           "version": null
         }
       }
Binary file DemoProject/DemoProject.xcodeproj/project.xcworkspace/xcuserdata/dennis.xcuserdatad/UserInterfaceState.xcuserstate has changed
--- a/DemoProject/DemoProject/View1.swift	Fri May 07 12:25:28 2021 +0200
+++ b/DemoProject/DemoProject/View1.swift	Fri May 07 12:28:35 2021 +0200
@@ -12,6 +12,7 @@
     var data: [Double]
     var dates: [String]?
     var hours: [String]?
+    var dragGesture: Bool?
     
     var range = ["5D", "1M", "3M", "1Y", "5Y"]
     @State private var selectedRange = "3M"
@@ -31,7 +32,7 @@
                 .pickerStyle(SegmentedPickerStyle())
                 .padding(.horizontal)
                 
-                ChartView(data: data, dates: dates, hours: hours)
+                LineChartView(data: data, dates: dates, hours: hours, dragGesture: dragGesture)
                     .padding(.vertical)
                 
                 List(1..<7) { i in
--- a/DemoProject/DemoProject/View2.swift	Fri May 07 12:25:28 2021 +0200
+++ b/DemoProject/DemoProject/View2.swift	Fri May 07 12:28:35 2021 +0200
@@ -54,7 +54,7 @@
 
                     }
                     .padding(.leading)
-                    ChartView(data: data, dates: nil, hours: nil)
+                    LineChartView(data: data, dates: nil, hours: nil, dragGesture: false)
                         .padding(.bottom)
                         .clipShape(RoundedRectangle(cornerRadius: 15))
                 }
Binary file StockCharts.xcodeproj/project.xcworkspace/xcuserdata/dennis.xcuserdatad/UserInterfaceState.xcuserstate has changed