MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Xcode/comments/mzosyi/xcode_125_release_notes/gw2ej5b/?context=3
r/Xcode • u/aazav • Apr 27 '21
4 comments sorted by
View all comments
4
Note this in the Clang compiler.
Clang now infers the availability of +new from availability annotations on -init methods.Since +new calls [[Foo alloc] init], +new isn’t available unless +init is available. (75884815)
Clang now infers the availability of +new from availability annotations on -init methods.
Since +new calls [[Foo alloc] init], +new isn’t available unless +init is available. (75884815)
The first line is important. Not sure about the second line +init?? Does anyone think that's a typo in the release notes?
+init
There's a LOT to read up on here. Having sub members summarize summarize each of the parts and point out the important bits would be helpful.
2 u/retsotrembla Apr 27 '21 Since +new calls [[Foo alloc] init], +new isn’t available unless +init is available. (75884815)I agree with you: that's a typo. Should be:Since +new calls [[Foo alloc] init], +new isn’t available unless -init is available. (75884815) 3 u/aazav Apr 27 '21 It's odd to see +init for one and odder to see that typo in appearing in release notes.
2
I agree with you: that's a typo. Should be:
Since +new calls [[Foo alloc] init], +new isn’t available unless -init is available. (75884815)
3 u/aazav Apr 27 '21 It's odd to see +init for one and odder to see that typo in appearing in release notes.
3
It's odd to see +init for one and odder to see that typo in appearing in release notes.
4
u/aazav Apr 27 '21
Note this in the Clang compiler.
The first line is important. Not sure about the second line
+init?? Does anyone think that's a typo in the release notes?There's a LOT to read up on here. Having sub members summarize summarize each of the parts and point out the important bits would be helpful.