lucoceano / Pager

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

fix Cyclomatic Complexity Violation warning #47

Closed nsleche closed 7 years ago

nsleche commented 7 years ago

I changed the function that removes the tabView from superview due to complexity and it fixed the Cyclomatic Complexity Violation warning

lfarah commented 7 years ago

Hey @nschucky, thanks for contributing.

@lucoceano please merge the PR if you approve it