diff LazyBear/Views/Home/TradingDates.swift @ 417:5f21f7c23c5e

Add comments and clean code
author Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com>
date Fri, 11 Jun 2021 11:37:42 +0200
parents 681fb377235e
children 4effac4733b0
line wrap: on
line diff
--- a/LazyBear/Views/Home/TradingDates.swift	Wed Jun 09 20:26:28 2021 +0200
+++ b/LazyBear/Views/Home/TradingDates.swift	Fri Jun 11 11:37:42 2021 +0200
@@ -37,6 +37,9 @@
         }
     }
     
+    /*
+     Get array of dates to use in ForEach
+     */
     private func getArrayOfDates() -> [Date] {
         // Get array of the string dates
         let stringDates = self.dates.map { $0.date }