 
 import UIKit
 
+/// A enum used to determine which direction the slider should slide from
 public enum SlideDirection: Int {
   case left
   case right

  fileprivate func initializeViews() {
    clipsToBounds = true
    sliderCircle.center = center
    if slideDirection == .left || slideDirection == .right {
      updateMask(location: center.x)
    } else {
      updateMask(location: center.y)
    }
    

  ///   - frame: Frame size
  ///   - firstView: First view - should have size equal to frame and second view
  ///   - secondView: Second view - should have size equal to frame and second view
  ///   - slideDirection: Optional parameter for the direction that the slider should slide. The default value is .right.
  ///   - sliderBorder: Optional paramter that will add a border to the slider of the specfied size and color
  public init(frame: CGRect, firstView: UIView, secondView: UIView, sliderImage: UIImage? = nil, slideDirection: SlideDirection? = nil, sliderBorder: SlidableImageBorder? = nil) {
    self.firstView = firstView
    self.secondView = secondView
