We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Attachment: Download
Toolchain: Swift Development Snapshot 2016-05-09 (a)
md5: 1a028d59934de3963412e16cc7932632
duplicates:
Issue Description:
This doesn't compile:
import UIKit import QuickLook class ViewController: UIViewController, QLPreviewControllerDataSource { func numberOfPreviewItems(in controller: QLPreviewController) -> Int { return 1 } func previewController(_ controller: QLPreviewController, previewItemAt index: Int) -> QLPreviewItem { return NSURL() } }
It should compile. The problem is that no implementation of the argument labels of `previewController(_:previewItemAt:)` satisfies the compiler.
The text was updated successfully, but these errors were encountered:
Presumably related to SR-1526 and others that I've reported where a delegate protocol's requirements cannot be satisfied.
Sorry, something went wrong.
Consolidating; likely fixed in master.
Confirmed that this is fixed in the toolchain release of May 31.
No branches or pull requests
Attachment: Download
Environment
Toolchain: Swift Development Snapshot 2016-05-09 (a)
Additional Detail from JIRA
md5: 1a028d59934de3963412e16cc7932632
duplicates:
Issue Description:
This doesn't compile:
It should compile. The problem is that no implementation of the argument labels of `previewController(_:previewItemAt:)` satisfies the compiler.
The text was updated successfully, but these errors were encountered: