diff --git a/Source/PagesController.swift b/Source/PagesController.swift index aa195bb..fe1009c 100644 --- a/Source/PagesController.swift +++ b/Source/PagesController.swift @@ -30,6 +30,10 @@ import UIKit lazy var pages = Array() + public var pagesCount: Int { + return pages.count + } + public private(set) var currentIndex = 0 public var pagesDelegate: PagesControllerDelegate?