From 37c79c0cb296d24677653b8358c2280fc06b9460 Mon Sep 17 00:00:00 2001 From: Abhinay Pratap Date: Sun, 17 Jul 2022 09:41:12 +0530 Subject: [PATCH] Create a file for constants --- Coin/Constants.swift | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Coin/Constants.swift diff --git a/Coin/Constants.swift b/Coin/Constants.swift new file mode 100644 index 0000000..a2e81c9 --- /dev/null +++ b/Coin/Constants.swift @@ -0,0 +1,11 @@ +// +// Constants.swift +// Coin +// +// Created by Abhinay Pratap on 17/07/22. +// + +struct K { + static let baseURL = "https://rest.coinapi.io/v1/exchangerate/BTC/" + static let APIKey = "2C357AF2-E8C5-4491-9002-48EFFD6DF2D2" +}