Is there really no way to measure the boundingRect of an AttributedString without falling back on NSAttributedString?

Seems like big hole for a Foundation struct.

Or maybe it's just a complete failure to find it in the Developer Documentation.

I get why everyone wants to remove the NS prefix from foundational stuff, but man it makes it really hard to find the new stuff.

Example: NSAttributedString has been around for a long time and there are TONS of examples in places like Stack Overflow.

As far as a search engine is concerned, “AttributedString" matches “NSAttributedString". But it doesn’t.

Try it on Google with: `“AttributedString" bounding rect`

First and subsequent hits are useless.

@chockenberry Swift’s module system is a failure.
@nmn @chockenberry Good luck if you have a type and module with the same name.