             }
         }
      
-        for container in multicolumnManager.textContainers as! [NSTextContainer] {
+        for container in multicolumnManager.textContainers as [NSTextContainer] {
             container.size = CGSize(width: CGFloat(columnWidth), height: columnHeight)
         }
         

    
    override func sizeThatFits(size: CGSize) -> CGSize {
        var height: CGFloat = 0.0
        for container in multicolumnManager.textContainers as! [NSTextContainer] {
            height = max(height, multicolumnManager.usedRectForTextContainer(container).height)
        }
        return CGSize(width: size.width, height: height)

    
    override func drawRect(rect: CGRect) {
        let columnWidth = (frame.width - CGFloat(max(0, Int(numberOfColumns) - 1)) * columnsSpacing) / CGFloat(numberOfColumns)
        for (index, container) in (multicolumnManager.textContainers as [NSTextContainer]).enumerate() {
            let containerOrigin = CGPoint(x: CGFloat(index) * (columnWidth + columnsSpacing), y: 0.0)
            let containerRange = multicolumnManager.glyphRangeForTextContainer(container)
            multicolumnManager.drawBackgroundForGlyphRange(containerRange, atPoint: containerOrigin)
