Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error displaying the second item #8

Closed
Rezanov-Onliner opened this issue Dec 3, 2015 · 1 comment
Closed

Error displaying the second item #8

Rezanov-Onliner opened this issue Dec 3, 2015 · 1 comment

Comments

@Rezanov-Onliner
Copy link

self.pageView.delegate = self
self.pageView.dataSource = self
self.pageView.infinite = false
func numberOfSectionsInPagingView(pagingView: PagingView) -> Int {
    return 1
}

Total 2 item

func pagingView(pagingView: PagingView, numberOfItemsInSection section: Int) -> Int {
    return 2
}

Displaying the second item

func indexPathOfStartingInPagingView(pagingView: PagingView) -> NSIndexPath? {
    return NSIndexPath(forRow: 1, inSection: 0)
}
jiaohaibin added a commit to jiaohaibin/PagingView that referenced this issue Sep 6, 2016
KyoheiG3 added a commit that referenced this issue Sep 13, 2016
Fix issue #8 Error displaying the second item
@KyoheiG3
Copy link
Owner

Fixed in https://github.com/KyoheiG3/PagingView/tree/0.4.3.
Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants