As a reminder, please avoid checking for specific subclasses of class clusters! ...

@Catfish_Man@mastodon.social

As a reminder, please avoid checking for specific subclasses of class clusters! (e.g. __NSCFString or NSTaggedPointerString for NSString, or __NSArrayI/__NSArrayM for NSArray)!

Each time we rewrite a Foundation type into Swift (see swift.org/blog/future-of-found), we're rolling the dice on whether we'll have to put in complex workarounds to avoid issues in apps that do this.

I'd prefer to spend that engineering time on making things more efficient and secure :)

#swiftlang