juanpablofernandez/SwiftyOnboard

Can't override page init

jakubforman opened this issue · 0 comments

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.