Open swift-ci opened 7 years ago
Issue Description:
Another minor fixit issue:
Previously one would use AVCaptureVideoPreviewLayer.layerWithSession to set up a preview layer (for instance). Swift3 complains:
'layerWithSession' has been renamed to 'withSession(_🙂'
This is incorrect, there is no method called 'withSession'. The proper replacement is to use the init which takes the 'session' parameter.
(re-reporting here, this is really a compiler issue. it's #29882917 in the Apple Bug Reporter)
I'm not seeing this on the Swift 3.1 branch. Maybe it's been fixed? MInd downloading an Xcode 8.3 beta and trying it out?
Comment by Maury Markowitz (JIRA)
Yeah, I don't see it any more either.
Environment
Xcode Version 8.2.1 (8C1002)Additional Detail from JIRA
| | | |------------------|-----------------| |Votes | 0 | |Component/s | Compiler | |Labels | Bug | |Assignee | None | |Priority | Medium | md5: 42c6f759d4551c37f2b95743cc6fe17bIssue Description:
Another minor fixit issue:
Previously one would use AVCaptureVideoPreviewLayer.layerWithSession to set up a preview layer (for instance). Swift3 complains:
'layerWithSession' has been renamed to 'withSession(_🙂'
This is incorrect, there is no method called 'withSession'. The proper replacement is to use the init which takes the 'session' parameter.
(re-reporting here, this is really a compiler issue. it's #29882917 in the Apple Bug Reporter)