Skip to content

Commit

Permalink
docfix for assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
skyebook authored and Martin Barreto committed Mar 28, 2018
1 parent 1896e68 commit 5f398ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/PagerTabStripViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ open class PagerTabStripViewController: UIViewController, UIScrollViewDelegate {
guard !viewControllers.isEmpty else {
fatalError("viewControllers(for:) should provide at least one child view controller")
}
viewControllers.forEach { if !($0 is IndicatorInfoProvider) { fatalError("Every view controller provided by PagerTabStripDataSource's viewControllers(for:) method must conform to InfoProvider") }}
viewControllers.forEach { if !($0 is IndicatorInfoProvider) { fatalError("Every view controller provided by PagerTabStripDataSource's viewControllers(for:) method must conform to IndicatorInfoProvider") }}

}

Expand Down

0 comments on commit 5f398ce

Please sign in to comment.