             
             let stringLocalFormat = String(isVertical ? "H" : "V") + ":|-" + String(describing: isVertical ? hMargin : vMargin) + "-[" + stringKey + "]-" + String(describing: isVertical ? hMargin : vMargin) + "-|"
             
-            arrConstraints.addObjects(from: NSLayoutConstraint.constraints(withVisualFormat: stringLocalFormat, options: NSLayoutFormatOptions(rawValue: 0), metrics: nil, views: dictViews as! [String : Any]))
+            arrConstraints.append(contentsOf: NSLayoutConstraint.constraints(withVisualFormat: stringLocalFormat, options: NSLayoutFormatOptions(rawValue: 0), metrics: nil, views: dictViews as [String : Any]))
         }
         
         var stringAppended: String = ""

    
    static func fluidConstraints(arrViews: [UIView], alignAxis: String, vMargin: CGFloat, hMargin: CGFloat, iMargin: CGFloat) -> [NSLayoutConstraint] {
        
        let arrConstraints: NSMutableArray = NSMutableArray(capacity: arrViews.count)
        let dictViews: NSMutableDictionary = NSMutableDictionary()
        let isVertical = alignAxis.isEqual("V")
        
        let stringGlobalFormat: NSMutableString = NSMutableString(format: alignAxis + ":|-" + String(describing: isVertical ? vMargin : hMargin) + "-" as NSString)

        
        stringGlobalFormat.append(stringAppended)
        
        arrConstraints.append(contentsOf: NSLayoutConstraint.constraints(withVisualFormat: stringGlobalFormat as String, options: NSLayoutFormatOptions(rawValue: 0), metrics: nil, views: dictViews as [String : Any]))
        
        return arrConstraints
        
    }
    
