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-1523] cannot implement GLKViewDelegate in Swift 3 #44132

Closed
mattneub opened this issue May 14, 2016 · 2 comments
Closed

[SR-1523] cannot implement GLKViewDelegate in Swift 3 #44132

mattneub opened this issue May 14, 2016 · 2 comments
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-1523
Radar None
Original Reporter @mattneub
Type Bug
Status Resolved
Resolution Duplicate
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: 2e941063c5572308564981dba85ffeed

duplicates:

  • SR-1514 impossible to adopt WKScriptMessageHandler protocol

Issue Description:

This doesn't compile:

import UIKit
import GLKit
import OpenGLES
class ViewController: UIViewController, GLKViewDelegate {
    func glkView(_ view: GLKView, drawIn rect: CGRect){
        
    }
}

It should compile. I'm implementing `glkView:drawInRect:` correctly under the renamification rules. I can't find any way to name this function to stop the compiler complaining.

@mattneub
Copy link
Author

Probably related to SR-1518 and 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