Skip to content

Commit

Permalink
修复低级错误
Browse files Browse the repository at this point in the history
修复低级错误
  • Loading branch information
CoderMJLee committed Nov 20, 2015
1 parent 22d610c commit 0781f67
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion MJExtension.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "MJExtension"
s.version = "3.0.6"
s.version = "3.0.7"
s.ios.deployment_target = '6.0'
s.osx.deployment_target = '10.8'
s.summary = "A fast and convenient conversion between JSON and model"
Expand Down
4 changes: 2 additions & 2 deletions MJExtension/NSObject+MJKeyValue.m
Original file line number Diff line number Diff line change
Expand Up @@ -293,8 +293,8 @@ - (NSMutableDictionary *)mj_keyValuesWithIgnoredKeys:(NSArray *)ignoredKeys

- (NSMutableDictionary *)mj_keyValuesWithKeys:(NSArray *)keys ignoredKeys:(NSArray *)ignoredKeys
{
// 如果自己不是模型类
MJExtensionAssertError(![MJFoundation isClassFromFoundation:[self class]], nil, [self class], @"不是自定义的模型类")
// 如果自己不是模型类, 那就返回自己
MJExtensionAssertError(![MJFoundation isClassFromFoundation:[self class]], (NSMutableDictionary *)self, [self class], @"不是自定义的模型类")

id keyValues = [NSMutableDictionary dictionary];

Expand Down

0 comments on commit 0781f67

Please sign in to comment.