lucoceano / Pager

Pager is the simplest and best way to implement sliding view controllers in Swift
MIT License
232 stars 41 forks source link

checking if it is completed before setting viewControllers for wPageViewController #19

Closed nsleche closed 7 years ago

nsleche commented 7 years ago

this can be the solution for the crash when swiping between tabs a few times issue: #17.

lfarah commented 7 years ago

@marciogranzotto can you check if his fork fixes your bug?

marciogranzotto commented 7 years ago

@lfarah nope 😕 same problem

lfarah commented 7 years ago

@nschucky did you fix any other bugs here?

nsleche commented 7 years ago

no @lfarah, @marciogranzotto make sure your ViewController does not contain another view controller object. For example if your main view controller has a tableview, do not put the UITableViewController with in. you can't have a controller inside another controller.