lucoceano / Pager

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

Crash when swiping between tabs a few times #17

Closed marciogranzotto closed 8 years ago

marciogranzotto commented 8 years ago

I'm experiencing this issue at 1.0.10. The app stops at line 466 of PagerController.swift. Here's the log:

*** Terminating app due to uncaught exception 'UIViewControllerHierarchyInconsistency', reason: 'A view can only be associated with at most one view controller at a time! View <UITableView: 0x15e1ea800; frame = (0 0; 375 510); clipsToBounds = YES; autoresize = W+H; gestureRecognizers = <NSArray: 0x15ea58a30>; layer = <CALayer: 0x15ea02bd0>; contentOffset: {0, 0}; contentSize: {375, 36102.5}> is associated with <UIViewController: 0x15e9c4770>. Clear this association before associating this view with <UIViewController: 0x15ea8fc50>.'
lfarah commented 8 years ago

When does this crash happen? Were you swiping or the view was loading? I need more details

lfarah commented 8 years ago

@marciogranzotto any updates on that?

lfarah commented 8 years ago

Closing. If any replies, I'll reopen