changeset 8:2c7ff576554d

Add new flags
author Dennis Concepción Martín <dennisconcepcionmartin@gmail.com>
date Sun, 11 Jul 2021 22:30:15 +0100
parents 8dad7eaac2c6
children 7e6d9c74ca81
files Simoleon.xcodeproj/project.pbxproj Simoleon.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved Simoleon.xcodeproj/project.xcworkspace/xcuserdata/dennis.xcuserdatad/UserInterfaceState.xcuserstate Simoleon/Assets.xcassets/Flags/BTC.imageset/BTC.png Simoleon/Assets.xcassets/Flags/BTC.imageset/Contents.json Simoleon/Assets.xcassets/Flags/DASH.imageset/Contents.json Simoleon/Assets.xcassets/Flags/DASH.imageset/DASH.png Simoleon/Assets.xcassets/Flags/ETH.imageset/Contents.json Simoleon/Assets.xcassets/Flags/ETH.imageset/ETH.png Simoleon/Assets.xcassets/Flags/LTC.imageset/Contents.json Simoleon/Assets.xcassets/Flags/LTC.imageset/LTC.png Simoleon/Assets.xcassets/Flags/XRP.imageset/Contents.json Simoleon/Assets.xcassets/Flags/XRP.imageset/XRP.png Simoleon/Resources/Currencies.json Simoleon/Resources/CurrencyPairs.json
diffstat 15 files changed, 139 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- a/Simoleon.xcodeproj/project.pbxproj	Sun Jul 11 18:05:15 2021 +0100
+++ b/Simoleon.xcodeproj/project.pbxproj	Sun Jul 11 22:30:15 2021 +0100
@@ -3,7 +3,7 @@
 	archiveVersion = 1;
 	classes = {
 	};
-	objectVersion = 50;
+	objectVersion = 52;
 	objects = {
 
 /* Begin PBXBuildFile section */
@@ -16,6 +16,7 @@
 		9555933F269B0E47000FD726 /* CurrencyModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9555933E269B0E47000FD726 /* CurrencyModel.swift */; };
 		956C28CA269B5893005A4595 /* CurrencyRow.swift in Sources */ = {isa = PBXBuildFile; fileRef = 956C28C9269B5893005A4595 /* CurrencyRow.swift */; };
 		956C28CC269B58A0005A4595 /* SmallFlagsPair.swift in Sources */ = {isa = PBXBuildFile; fileRef = 956C28CB269B58A0005A4595 /* SmallFlagsPair.swift */; };
+		95C02C8B269B61680061DD6D /* Alamofire in Frameworks */ = {isa = PBXBuildFile; productRef = 95C02C8A269B61680061DD6D /* Alamofire */; };
 		95C5B2282697752600941585 /* SimoleonApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 95C5B2272697752600941585 /* SimoleonApp.swift */; };
 		95C5B22A2697752600941585 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 95C5B2292697752600941585 /* ContentView.swift */; };
 		95C5B22C2697752700941585 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 95C5B22B2697752700941585 /* Assets.xcassets */; };
@@ -78,6 +79,7 @@
 			isa = PBXFrameworksBuildPhase;
 			buildActionMask = 2147483647;
 			files = (
+				95C02C8B269B61680061DD6D /* Alamofire in Frameworks */,
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 		};
@@ -225,6 +227,9 @@
 			dependencies = (
 			);
 			name = Simoleon;
+			packageProductDependencies = (
+				95C02C8A269B61680061DD6D /* Alamofire */,
+			);
 			productName = Simoleon;
 			productReference = 95C5B2242697752600941585 /* Simoleon.app */;
 			productType = "com.apple.product-type.application";
@@ -296,6 +301,9 @@
 				Base,
 			);
 			mainGroup = 95C5B21B2697752600941585;
+			packageReferences = (
+				95C02C89269B61680061DD6D /* XCRemoteSwiftPackageReference "Alamofire" */,
+			);
 			productRefGroup = 95C5B2252697752600941585 /* Products */;
 			projectDirPath = "";
 			projectRoot = "";
@@ -673,6 +681,25 @@
 		};
 /* End XCConfigurationList section */
 
+/* Begin XCRemoteSwiftPackageReference section */
+		95C02C89269B61680061DD6D /* XCRemoteSwiftPackageReference "Alamofire" */ = {
+			isa = XCRemoteSwiftPackageReference;
+			repositoryURL = "https://github.com/Alamofire/Alamofire.git";
+			requirement = {
+				kind = upToNextMajorVersion;
+				minimumVersion = 5.4.3;
+			};
+		};
+/* End XCRemoteSwiftPackageReference section */
+
+/* Begin XCSwiftPackageProductDependency section */
+		95C02C8A269B61680061DD6D /* Alamofire */ = {
+			isa = XCSwiftPackageProductDependency;
+			package = 95C02C89269B61680061DD6D /* XCRemoteSwiftPackageReference "Alamofire" */;
+			productName = Alamofire;
+		};
+/* End XCSwiftPackageProductDependency section */
+
 /* Begin XCVersionGroup section */
 		95C5B2322697752700941585 /* Simoleon.xcdatamodeld */ = {
 			isa = XCVersionGroup;
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Simoleon.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved	Sun Jul 11 22:30:15 2021 +0100
@@ -0,0 +1,16 @@
+{
+  "object": {
+    "pins": [
+      {
+        "package": "Alamofire",
+        "repositoryURL": "https://github.com/Alamofire/Alamofire.git",
+        "state": {
+          "branch": null,
+          "revision": "f96b619bcb2383b43d898402283924b80e2c4bae",
+          "version": "5.4.3"
+        }
+      }
+    ]
+  },
+  "version": 1
+}
Binary file Simoleon.xcodeproj/project.xcworkspace/xcuserdata/dennis.xcuserdatad/UserInterfaceState.xcuserstate has changed
Binary file Simoleon/Assets.xcassets/Flags/BTC.imageset/BTC.png has changed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Simoleon/Assets.xcassets/Flags/BTC.imageset/Contents.json	Sun Jul 11 22:30:15 2021 +0100
@@ -0,0 +1,12 @@
+{
+  "images" : [
+    {
+      "filename" : "BTC.png",
+      "idiom" : "universal"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Simoleon/Assets.xcassets/Flags/DASH.imageset/Contents.json	Sun Jul 11 22:30:15 2021 +0100
@@ -0,0 +1,12 @@
+{
+  "images" : [
+    {
+      "filename" : "DASH.png",
+      "idiom" : "universal"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}
Binary file Simoleon/Assets.xcassets/Flags/DASH.imageset/DASH.png has changed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Simoleon/Assets.xcassets/Flags/ETH.imageset/Contents.json	Sun Jul 11 22:30:15 2021 +0100
@@ -0,0 +1,12 @@
+{
+  "images" : [
+    {
+      "filename" : "ETH.png",
+      "idiom" : "universal"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}
Binary file Simoleon/Assets.xcassets/Flags/ETH.imageset/ETH.png has changed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Simoleon/Assets.xcassets/Flags/LTC.imageset/Contents.json	Sun Jul 11 22:30:15 2021 +0100
@@ -0,0 +1,12 @@
+{
+  "images" : [
+    {
+      "filename" : "LTC.png",
+      "idiom" : "universal"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}
Binary file Simoleon/Assets.xcassets/Flags/LTC.imageset/LTC.png has changed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Simoleon/Assets.xcassets/Flags/XRP.imageset/Contents.json	Sun Jul 11 22:30:15 2021 +0100
@@ -0,0 +1,12 @@
+{
+  "images" : [
+    {
+      "filename" : "XRP.png",
+      "idiom" : "universal"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}
Binary file Simoleon/Assets.xcassets/Flags/XRP.imageset/XRP.png has changed
--- a/Simoleon/Resources/Currencies.json	Sun Jul 11 18:05:15 2021 +0100
+++ b/Simoleon/Resources/Currencies.json	Sun Jul 11 22:30:15 2021 +0100
@@ -804,11 +804,6 @@
         "name": "East Caribbean dollar",
         "flag": "AI"
     },
-    "XDR":
-    {
-        "name": "Special drawing rights",
-        "flag": "IMF"
-    },
     "XOF":
     {
         "name": "CFA Franc BCEAO",
@@ -858,5 +853,40 @@
     {
         "name": "Zimbabwe dollar",
         "flag": "ZW"
+    },
+    "DASH":
+    {
+        "name": "DASH cryptocurrency",
+        "flag": "DASH"
+    },
+    "BTC":
+    {
+        "name": "Bitcoin",
+        "flag": "BTC"
+    },
+    "DSH":
+    {
+        "name": "Dash cryptocurrency",
+        "flag": "DASH"
+    },
+    "LTC":
+    {
+        "name": "Litecoin",
+        "flag": "LTC"
+    },
+    "ETH":
+    {
+        "name": "Ethereum",
+        "flag": "ETH"
+    },
+    "BCH":
+    {
+        "name": "Bitcoin Cash",
+        "flag": "BTC"
+    },
+    "XRP":
+    {
+        "name": "XRP cryptocurrency",
+        "flag": "XRP"
     }
 }
--- a/Simoleon/Resources/CurrencyPairs.json	Sun Jul 11 18:05:15 2021 +0100
+++ b/Simoleon/Resources/CurrencyPairs.json	Sun Jul 11 22:30:15 2021 +0100
@@ -1,6 +1,4 @@
 [
-    "USO/USD",
-    "UKO/USD",
     "EUR/USD",
     "HUF/CHF",
     "TWD/SEK",
@@ -8,7 +6,6 @@
     "DKK/EUR",
     "GBP/SGD",
     "NPR/USD",
-    "USD/CLY",
     "USD/GTQ",
     "PEN/COP",
     "AUD/PHP",
@@ -930,7 +927,6 @@
     "HUF/USD",
     "MMK/GBP",
     "EUR/CRC",
-    "ISK/XDR",
     "BGN/CAD",
     "ZAR/MWK",
     "GBP/SRD",
@@ -1461,7 +1457,6 @@
     "NZD/TWD",
     "USD/MUR",
     "CAD/LFX",
-    "XDR/ISK",
     "SEK/CAD",
     "CDF/GBP",
     "PEN/USD",
@@ -1609,7 +1604,6 @@
     "CAD/DSH",
     "PLN/BCH",
     "XAG/XAU",
-    "BTC/NRP",
     "SEK/XAG",
     "AUD/DSH",
     "CNH/DSH",
@@ -1791,10 +1785,7 @@
     "BCH/PLN",
     "XAG/SGD",
     "LTC/CAD",
-    "USD/USO",
-    "USD/UKO",
     "SEK/TWD",
-    "CLY/USD",
     "COP/PEN",
     "CLF/USD",
     "AOA/EUR",