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-3157] UIView.convert is not supported in iOS7 #45745

Open
swift-ci opened this issue Nov 8, 2016 · 1 comment
Open

[SR-3157] UIView.convert is not supported in iOS7 #45745

swift-ci opened this issue Nov 8, 2016 · 1 comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself regression swift 3.0 type checker Area → compiler: Semantic analysis

Comments

@swift-ci
Copy link
Collaborator

swift-ci commented Nov 8, 2016

Previous ID SR-3157
Radar None
Original Reporter yasmin777 (JIRA User)
Type Bug

Attachment: Download

Environment

Version 8.1 (8B62)
app that must support iOS7

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

md5: f15a9e4cdcee545945debf7fef5e3028

Issue Description:

UIView.convertRect has been changed to UIView.convert, but this method is not supported in iOS7
This seams like a bug since it is a very basic method, and it does compile in objective C in the same project.
I attached a very ugly work around (method implementation in objective C and using a bridging header to access it from swift)

apple bug number is 29144238. I don't know what the radar URL is...

@belkadan
Copy link
Contributor

belkadan commented Nov 8, 2016

Looks like a type checker bug—it's picking the version of convert that takes a UICoordinateSpace rather than a UIView. Over to Mark.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
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 regression swift 3.0 type checker Area → compiler: Semantic analysis
Projects
None yet
Development

No branches or pull requests

3 participants