Esqarrouth / EZSwipeController

:point_up_2: UIPageViewController like Snapchat/Tinder/iOS Main Pages
MIT License
842 stars 71 forks source link

swift 3 Xcode8 beta6 Open class #35

Closed joaoAvno closed 8 years ago

joaoAvno commented 8 years ago

in last xcode version i got this error "Overriding non-open instance method outside of its defining module" in setup method

override func setupView() { super.setupView() datasource = self navigationBarShouldNotExist = true view.backgroundColor = UIColor(red: 231/255, green: 231/255, blue: 231/255, alpha: 1) }

any idea how to solve this?

gkermo commented 8 years ago

I had the same issue, I modified EZSwipeController.swift, setting the class as open instead of public ( c.f. : SE-0117 Allow distinguishing between public access and public overridability ).

It solved the problem.

JFKingsley commented 8 years ago

This should be fixed in the latest release.