From ec63c0d33adb2227e719d3911de06d1a1d7d3af8 Mon Sep 17 00:00:00 2001 From: kevinZhang <573581325@qq.com> Date: Fri, 11 Oct 2019 15:18:58 +0800 Subject: [PATCH] Update NSObject+YYModel.m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 删除重复判断 --- YYKit/Model/NSObject+YYModel.m | 1 - 1 file changed, 1 deletion(-) diff --git a/YYKit/Model/NSObject+YYModel.m b/YYKit/Model/NSObject+YYModel.m index d45c6fe9..580f895d 100644 --- a/YYKit/Model/NSObject+YYModel.m +++ b/YYKit/Model/NSObject+YYModel.m @@ -45,7 +45,6 @@ static force_inline YYEncodingNSType YYClassGetNSType(Class cls) { if ([cls isSubclassOfClass:[NSValue class]]) return YYEncodingTypeNSValue; if ([cls isSubclassOfClass:[NSMutableData class]]) return YYEncodingTypeNSMutableData; if ([cls isSubclassOfClass:[NSData class]]) return YYEncodingTypeNSData; - if ([cls isSubclassOfClass:[NSDate class]]) return YYEncodingTypeNSDate; if ([cls isSubclassOfClass:[NSURL class]]) return YYEncodingTypeNSURL; if ([cls isSubclassOfClass:[NSMutableArray class]]) return YYEncodingTypeNSMutableArray; if ([cls isSubclassOfClass:[NSArray class]]) return YYEncodingTypeNSArray;