3 ms·
The programmer either meant to use NSNull or setValue:forKey or simply forgot a nil check. https://developer.apple.com/documentation/foundation/nsmutabledictio
by js2 5y ago
The programmer either meant to use NSNull or setValue:forKey or simply forgot a nil check.
https://developer.apple.com/documentation/foundation/nsmutabledictionary/1416335-setvalue https://developer.apple.com/documentation/foundation/nsmutab...
Pretty lame mistake to let slip through review and testing and a common enough error that Apple calls it out in its documentation:
https://developer.apple.com/documentation/foundation/nsmutabledictionary/1411616-setobject https://developer.apple.com/documentation/foundation/nsmutab...