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

Declarations in extensions cannot override yet #98

Closed
arunabhdas opened this issue Dec 22, 2017 · 1 comment
Closed

Declarations in extensions cannot override yet #98

arunabhdas opened this issue Dec 22, 2017 · 1 comment

Comments

@arunabhdas
Copy link

arunabhdas commented Dec 22, 2017

Getting the following error on line 31 of PresentationController.swift

Ambiguous use of 'add'

and the following error on line 122 of PresentationController.swift

Declarations in extensions cannot override yet

Function add is as below :

// MARK: - Content

extension PresentationController {

  open override func add(_ viewControllers: [UIViewController]) {
    for case let controller as SlideController in viewControllers  {
      slides.append(controller)
    }
    super.add(viewControllers)
  }

Using Swift 3.2 language version in Xcode 9.2

@vadymmarkov
Copy link
Contributor

It should be fixed in Swift 4 release.

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