monsieurje/ICViewPager — pull request #38 by akisute (2014-01-19 03:59:50+00:00)
Title: Fixed Issue #35.

This should fix monsieurje/ICViewPager#35.

The first plan for this fix was just to workaround not to pass
`NSNotFound` to `selectTabAtIndex:`, but I found `selectTabAtIndex:`
doesn't take out-of-bounds arguments into account. In private methods
like `viewControllerAtIndex:` handles invalid arguments collectly so I
decided follow this way. Notice that `selectTabAtIndex:` is a public
method which behaviour will be changed by this fix.