I can't find anything about this in the release notes or on swift.org, but what they're gone now. What happened to them in the Xcode Beta 4?
Asked
Active
Viewed 2,264 times
1 Answers
2
NSPredicate
and NSSortDescriptor
are still around in Xcode 8 beta 4; they've just got their "NS" back after losing it in previous betas.
According to SE-0086, which covers dropping the "NS" prefix from certain Foundation types in Swift 3, NSPredicate
is an example of the set of types keeping "NS" because they're likely to be replaced by value types in the not too distant future. NSSortDescriptor
isn't given as an example in that proposal, but it's easy to image that it might fall into the same group.

rickster
- 124,678
- 26
- 272
- 326