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

Can't override page init #46

Open
jakubforman opened this issue Oct 1, 2019 · 0 comments
Open

Can't override page init #46

jakubforman opened this issue Oct 1, 2019 · 0 comments

Comments

@jakubforman
Copy link

jakubforman commented Oct 1, 2019

Bug

If I try to customize some constraints, I have a problem. My first idea is to create a SwiftyOnboardPage class and override thesetUp ()method to my constraints. Its not work, after that I try to override init () method, butinit () in SwiftyOnboardPage` does not have a public type.

Solution

After then I updated the original init () method in SwiftyOnboardPage and all works pretty well.

Bug

Same problem is override setUp method

Solution

Set setUp method as open

If you have any other idea to craate your own page, please tell me.

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

1 participant