Skip to content

Cannot get internal UIScrollView [Swift] #45

@Ashkan-Sarlak

Description

@Ashkan-Sarlak

Hi Stefan, thank you for your contribution to the iOS programmers community

I have a problem with the library. I've switched recently from UIPageViewController to this library, to have more control over paging animation, specifically I need a slower damping, when a page swipes.
So as the README says I should access the internal scrollview and:

SCPageViewController().scrollView.setDecelerationRate(.normal)

, but Xcode says: Value of type 'SCPageViewController' has no member 'scrollView'
I've seen the code and I know there is such member, I can get other members like 'layouter' but not this one that I really care about.

So, do you have any idea about this problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions