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 +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -228,7 +228,7 @@ extension PagingViewController: ViewCleanable {
228
228
}
229
229
230
230
extension PagingViewController : PageLoadable {
231
- func shouldLoad( page page : Int ) -> Bool {
231
+ func shouldLoad( page: Int ) -> Bool {
232
232
switch ( options. menuControllerSet, options. lazyLoadingPage) {
233
233
case ( . single, _) ,
234
234
( _, . one) :
@@ -247,7 +247,7 @@ extension PagingViewController: PageLoadable {
247
247
return true
248
248
}
249
249
250
- func isVisible( controller controller : UIViewController ) -> Bool {
250
+ func isVisible( controller: UIViewController ) -> Bool {
251
251
return self . childViewControllers. contains ( controller)
252
252
}
253
253
Original file line number Diff line number Diff line change 9
9
import Foundation
10
10
11
11
protocol PageLoadable {
12
- func shouldLoad( page page : Int ) -> Bool
13
- func isVisible( controller controller : UIViewController ) -> Bool
12
+ func shouldLoad( page: Int ) -> Bool
13
+ func isVisible( controller: UIViewController ) -> Bool
14
14
func showVisibleControllers( )
15
15
func hideVisibleControllers( )
16
16
}
You can’t perform that action at this time.
0 commit comments