         if labels.count > 0 {
             color = labels[0].textColor
             
-            for i in 1..<labels.count {
-                if labels[i].textColor != color {
-                    return nil  // labels have different text colors; return nil
-                }
+            for i in 1..<labels.count where labels[i].textColor != color {
+                return nil  // labels have different text colors; return nil
             }
         }
         

        if labels.count > 0 {
            fnt = labels[0].font
            
            for i in 1..<labels.count {
                if labels[i].font != fnt {
                    return nil  // labels have different text colors; return nil
                }
            }
        }
        


public class KBHLabel: UIView {
    
    /// A reference to each of the underlying labels. The separate labels can be referenced in order to allow for customization of each of the characters in the label.
    public var labels: [UILabel] { return _labels }
    private var _labels = [UILabel]()
    
    /// The text displayed by the label.
    public var text: String {
