             }
             
             return [
-                NSAttributedStringKey.font: font,
-                NSAttributedStringKey.foregroundColor: UIColor.white
+                .font: font,
+                .foregroundColor: UIColor.white
             ]
         }
     }

        
        return CGSize(width: constrainedSize.width, height: yOffset)
    }

}

        let HorizontalPadding: CGFloat = 0
        let InterLabelSpacing: CGFloat = 2
        #endif
        
        let xOffset = HorizontalPadding
        var yOffset: CGFloat = 0
        
        for (index, label) in self.visibleSizingLabels.enumerated() {
