 
             segmentContent.icon = segmentContent.icon.map(resizeImage)
 
-            contentType = .Hybrid
+            contentType = .hybrid
             self.update()
         }
     }

 - BottomEdge: The bottom edge of the selected segmenet is highlighted.
 */
public enum XMSelectedItemHighlightStyle {
    case Background
    case TopEdge
    case BottomEdge
}

/**

     Sets the segmented control content type to `Text` and uses the content of the array to create the segments.
     - Note: Only six elements will be displayed.
     */
    open var segmentTitle: [String] = []{
        didSet {
            segmentTitle = segmentTitle.count > 6 ? Array(segmentTitle[0..<6]) : segmentTitle
            contentType = .text
            self.update()
        }
    }
