This repository was archived by the owner on Jun 17, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +7
-21
lines changed
Expand file tree Collapse file tree 2 files changed +7
-21
lines changed Original file line number Diff line number Diff line change @@ -252,8 +252,10 @@ extension PagingViewController: ViewCleanable {
252252 }
253253}
254254
255- extension PagingViewController : PageLoadable {
256- func shouldLoad( page: Int ) -> Bool {
255+ // MARK: Page Control
256+
257+ extension PagingViewController {
258+ fileprivate func shouldLoad( page: Int ) -> Bool {
257259 switch ( options. menuControllerSet, options. lazyLoadingPage) {
258260 case ( . single, _) ,
259261 ( _, . one) :
@@ -273,16 +275,16 @@ extension PagingViewController: PageLoadable {
273275 return true
274276 }
275277
276- func isVisible( controller: UIViewController ) -> Bool {
278+ fileprivate func isVisible( controller: UIViewController ) -> Bool {
277279 return self . childViewControllers. contains ( controller)
278280 }
279281
280- func hideVisibleControllers( ) {
282+ fileprivate func hideVisibleControllers( ) {
281283 guard shouldWaitForLayout ( ) else { return }
282284 visibleControllers. forEach { $0. view. alpha = 0 }
283285 }
284286
285- func showVisibleControllers( ) {
287+ fileprivate func showVisibleControllers( ) {
286288 guard shouldWaitForLayout ( ) else { return }
287289 visibleControllers. forEach { $0. view. alpha = 1 }
288290 }
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments