 	@objc optional func pagedScrollViewDidScrollToTop(pagedScrollView: TKPagedScrollView?)
 }
 
-public enum TKPageScrollDirection : Int {
+@objc public enum TKPageScrollDirection : Int {
 	case vertical
 	case horizontal
 }
 
 
-public class TKPagedScrollView: UIView, UIScrollViewDelegate {
-	
-
+open class TKPagedScrollView: UIView, UIScrollViewDelegate {
+	
+	
 	
 	
 	
 	// MARK: INIT
-
-	override convenience init(frame: CGRect) {
-		self.init(frame: frame, direction: .vertical)
-	}
-	
-	required public init(coder aDecoder: NSCoder) {
-		fatalError("This class does not support NSCoding")
-	}
-	
-	public init(frame: CGRect, direction: TKPageScrollDirection) {
+	
+	override init(frame: CGRect) {
+		scrollDirection = .vertical
+		scrollView = UIScrollView(frame: CGRect(x:0,y:0,width:frame.size.width,height:frame.size.height))
+		currentPage = 0
+		animatingPages = false
+		
+		_pages = []
+		super.init(frame: frame)
+	}
+	
+	@objc public init(frame: CGRect, direction: TKPageScrollDirection) {
 		
 		scrollDirection = direction
 		scrollView = UIScrollView(frame: CGRect(x:0,y:0,width:frame.size.width,height:frame.size.height))
 		currentPage = 0
 		animatingPages = false
-
+		
 		_pages = []
 		super.init(frame: frame)
 		

		else if !vert && scrollView.contentOffset.x < -30 {
			self.scrollToPreviousPage()
		}

		self.delegate?.pagedScrollViewDidEndDragging?(pagedScrollView: self, willDecelerate: decelerate)

	}
	
	public func scrollViewDidScroll(_ scrollView: UIScrollView) {

		
	}
	public var currentPage : Int {
		
		didSet{
			_setupPages()
		}
