You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NSDictionary *userInfo = @{ NSLocalizedDescriptionKey: [NSStringstringWithFormat:@"An `%@` exception was encountered while attempting to unarchive the given inputValue.", [exception name]], @"exception": exception };
if (error) *error = [NSErrorerrorWithDomain:RKValueTransformersErrorDomain code:RKValueTransformationErrorTransformationFailed userInfo:userInfo];
252
252
returnNO;
253
253
}
254
254
if (! [unarchivedValue isKindOfClass:outputValueClass]) {
255
255
NSDictionary *userInfo = @{ NSLocalizedDescriptionKey: [NSStringstringWithFormat:@"Expected an `outputValueClass` of type `%@`, but the unarchived object is a `%@`.", outputValueClass, [unarchivedValue class]] };
NSDictionary *userInfo = @{ NSLocalizedDescriptionKey: [NSStringstringWithFormat:@"Expected an `inputValue` of type `NSData` or conforming to `NSCoding`, but got a `%@` which does not satisfy these expectation.", [inputValue class]] };
} transformationBlock:^BOOL(id inputValue, __autoreleasing id *outputValue, Class outputValueClass, NSError *__autoreleasing *error) {
452
452
if (RKVTClassIsCollection([inputValue class])) {
453
453
NSDictionary *userInfo = @{ NSLocalizedDescriptionKey: [NSStringstringWithFormat:@"Expected an `inputValue` that is not a collection, but got a `%@`.", [inputValue class]] };
} transformationBlock:^BOOL(id inputValue, __autoreleasing id *outputValue, __unsafe_unretained Class outputValueClass, NSError *__autoreleasing *error) {
480
480
if (! [inputValue conformsToProtocol:@protocol(NSMutableCopying)]) {
481
481
NSDictionary *userInfo = @{ NSLocalizedDescriptionKey: [NSStringstringWithFormat:@"Expected an `inputValue` that conforms to `NSMutableCopying`, but `%@` objects do not.", [inputValue class]] };
0 commit comments