Skip to content

Commit 69faa33

Browse files
committed
Change code style and update LICENSE
1 parent 866db85 commit 69faa33

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2013-2015 MJExtension (https://github.com/CoderMJLee/MJExtension)
1+
Copyright (c) 2013-2019 MJExtension (https://github.com/CoderMJLee/MJExtension)
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy
44
of this software and associated documentation files (the "Software"), to deal

MJExtension/NSObject+MJClass.m

+3-3
Original file line numberDiff line numberDiff line change
@@ -156,10 +156,10 @@ + (NSMutableArray *)mj_totalObjectsWithSelector:(SEL)selector key:(const char *)
156156
[self classDictForKey:key][NSStringFromClass(self)] = array = [NSMutableArray array];
157157

158158
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"
161161
NSArray *subArray = [self performSelector:selector];
162-
#pragma clang diagnostic pop
162+
#pragma clang diagnostic pop
163163
if (subArray) {
164164
[array addObjectsFromArray:subArray];
165165
}

MJExtension/NSObject+MJProperty.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ + (id)mj_getNewValueFromObject:(__unsafe_unretained id)object oldValue:(__unsafe
196196
}
197197
// 兼容旧版本
198198
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];
200200
}
201201

202202
// 查看静态设置

0 commit comments

Comments
 (0)