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

[SR-1526] Swift 3 can't implement EKEventViewDelegate, EKEventEditViewDelegate #44135

Closed
mattneub opened this issue May 15, 2016 · 2 comments
Closed
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself

Comments

@mattneub
Copy link

Previous ID SR-1526
Radar None
Original Reporter @mattneub
Type Bug
Status Resolved
Resolution Duplicate

Attachment: Download

Environment

Toolchain: Swift Development Snapshot 2016-05-09 (a)

Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug
Assignee None
Priority Medium

md5: 72a49a01e6f5aa8e40a7506e0e0c8d5e

duplicates:

  • SR-1514 impossible to adopt WKScriptMessageHandler protocol

Issue Description:

This doesn't compile:

import UIKit
import EventKitUI

class ViewController: UIViewController, EKEventViewDelegate, EKEventEditViewDelegate {
    func eventViewController(_ controller: EKEventViewController, didCompleteWith action: EKEventViewAction) {}
    func eventEditViewController(_ controller: EKEventEditViewController, didCompleteWith action: EKEventEditViewAction) {}
}

It should. I enclose a tiny sample project. I can't find any workaround that will get the compiler to stop complaining.

@mattneub
Copy link
Author

Presumably related to SR-1523, SR-1518, SR-1514.

@mattneub
Copy link
Author

mattneub commented Jun 4, 2016

Confirmed that this is fixed in the toolchain release of May 31.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself
Projects
None yet
Development

No branches or pull requests

1 participant