 
 
 public func VCenterAnchor(view: UIView?, inset: CGFloat) -> VAnchor {
-    return VAnchor.Center(view, inset)
+    return VAnchorType.Center(view, inset)
 }
 
 public func VCenterAnchor(view: UIView?) -> VAnchor {


//MARK: - hanchor

public enum HAnchor : Anchor {
    
    case Left(UIView?, CGFloat)
    case Center(UIView?, CGFloat)
    case Right(UIView?, CGFloat)
    
    public func valueForRect(rect: CGRect) -> CGFloat {
        switch self {
        case .Left(_, let inset):
            return CGRectGetMinX(rect) + inset

        return result
    }
    
    var view: UIView? {
        switch self {
        case .Left(let v, _):
            return v
