We could modify the Assertion code to handle better cases where the developer forgot to write the code to handle the custom Box.
SEL mappingSelector = NSSelectorFromString([NSString stringWithFormat:@"boxValueAs%@:", mappingType]);
AssertTrueOrReturnNoBlock([self respondsToSelector:mappingSelector], ^(NSError *error) {
});
In the AssertTrueOrReturnNoBlock we could print the expected selector.
We could modify the Assertion code to handle better cases where the developer forgot to write the code to handle the custom Box.
In the
AssertTrueOrReturnNoBlockwe could print the expected selector.