File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
- Copyright (c) 2013-2015 MJExtension (https://github.com/CoderMJLee/MJExtension)
1
+ Copyright (c) 2013-2019 MJExtension (https://github.com/CoderMJLee/MJExtension)
2
2
3
3
Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change @@ -156,10 +156,10 @@ + (NSMutableArray *)mj_totalObjectsWithSelector:(SEL)selector key:(const char *)
156
156
[self classDictForKey: key][NSStringFromClass (self )] = array = [NSMutableArray array ];
157
157
158
158
if ([self respondsToSelector: selector]) {
159
- #pragma clang diagnostic push
160
- #pragma clang diagnostic ignored "-Warc-performSelector-leaks"
159
+ #pragma clang diagnostic push
160
+ #pragma clang diagnostic ignored "-Warc-performSelector-leaks"
161
161
NSArray *subArray = [self performSelector: selector];
162
- #pragma clang diagnostic pop
162
+ #pragma clang diagnostic pop
163
163
if (subArray) {
164
164
[array addObjectsFromArray: subArray];
165
165
}
Original file line number Diff line number Diff line change @@ -196,7 +196,7 @@ + (id)mj_getNewValueFromObject:(__unsafe_unretained id)object oldValue:(__unsafe
196
196
}
197
197
// 兼容旧版本
198
198
if ([self respondsToSelector: @selector (newValueFromOldValue:property: )]) {
199
- return [self performSelector: @selector (newValueFromOldValue:property: ) withObject: oldValue withObject: property];
199
+ return [self performSelector: @selector (newValueFromOldValue:property: ) withObject: oldValue withObject: property];
200
200
}
201
201
202
202
// 查看静态设置
You can’t perform that action at this time.
0 commit comments