Help~ NSMutableArray conditional bridge crash in iOS 15.4 beta

I may be missing something (genuinely, please correct me if I am!), but this seems like correct behavior. If you say something can't be nil, and it is nil, then you've violated your API contract. You can probably work around it by doing result.mutableArray as NSMutableArray? as? [NSObject].

5 Likes