 }
 
 public class Popover: UIView {
-  
+
   public enum PopoverType {
     case Up
     case Down
   }
-  
+
   // custom property
   private var arrowSize: CGSize = CGSize(width: 16.0, height: 10.0)
   private var animationIn: NSTimeInterval = 0.6

      }
    }
  }
  
  override public func drawRect(rect: CGRect) {
    super.drawRect(rect)
    var arrow = UIBezierPath()

      frame.origin.y = self.arrowShowPoint.y
      anchorPoint = CGPoint(x: arrowPoint.x / frame.size.width, y: 0)
    }

    var lastAnchor = self.layer.anchorPoint
    self.layer.anchorPoint = anchorPoint
    var x = self.layer.position.x + (anchorPoint.x - lastAnchor.x) * self.layer.bounds.size.width
