 */
 public func ==(left: Swiftly, right: Swiftly) -> Swiftly {
     var result = left
-    result.toItem = right.fromItem
+    result.toItem = right.toItem
 
     if let attrs = right.attributes {
         result.otherAttributes = attrs

    - returns: A Swiftly object representing the desired layout.
    */
    public static func Center(item: AnyObject? = nil) -> Swiftly {
        return Swiftly(attributes: [.CenterX, .CenterY], fromItem: item)
    }
    /**
    A combined layout representing the height and width of a view's alignment rectangle.

    - returns: A Swiftly object representing the desired layout.
    */
    public static func Horizontal(item: AnyObject? = nil) -> Swiftly {
        return Swiftly(attributes: [.Left, .Right], toItem: item)
    }
    /**
     A combined layout representing the left and right sides of a view's margin alignment rectangle.
