Upon updating an older project from Swift 4.0 to 4.2, there were a number of compiler fix-it's for things like 'UISegmentedControlNoSegment' has been renamed to 'UISegmentedControl.noSegment' and 'willMove(toParentViewController:)' has been renamed to 'willMove(toParent:)'.
I want to be able to precisely answer the question, "when did this syntax change?" Right now all I can say is, "sometime between 4.0 and 4.2, and you'll have to take my word for it because I can't find documentation of that anywhere." And at some point I'll forget even that much and just have to say I don't remember.
I have tried looking at:
-
Swift's Changelog (where I expected to find it, but didn't)
-
iOS Release Notes (found nothing)
-
Apple's UIKit Documentation (willMove(toParent:), it just shows iOS 5.0+ and no API changes?)
-
Apple's Swift Documentation (didn't find anything related)
-
Tried Googling "UISegmentedControl.noSegment" but nothing relevant shows up.
-
Tried searching through Swift's git repo, but I admit I got lost among all the files.
So where is this knowledge kept? I feel like I'm missing some obvious place to look for these things.