Skip to content

Commit

Permalink
Merge pull request CoderMJLee#161 from SunnyCatOTH/develop
Browse files Browse the repository at this point in the history
修正MJFoundation.m文件中的方法名拼写错误
  • Loading branch information
CoderMJLee committed Aug 11, 2015
2 parents 85d6166 + bdabe8c commit b326017
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MJExtension/MJFoundation.m
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

@implementation MJFoundation

+ (NSSet *)foundatonClasses
+ (NSSet *)foundationClasses
{
if (_foundationClasses == nil) {
// 集合中没有NSObject,因为几乎所有的类都是继承自NSObject,具体是不是NSObject需要特殊判断
Expand All @@ -36,7 +36,7 @@ + (BOOL)isClassFromFoundation:(Class)c
if (c == [NSObject class] || c == [NSManagedObject class]) return YES;

__block BOOL result = NO;
[[self foundatonClasses] enumerateObjectsUsingBlock:^(Class foundationClass, BOOL *stop) {
[[self foundationClasses] enumerateObjectsUsingBlock:^(Class foundationClass, BOOL *stop) {
if (c == foundationClass || [c isSubclassOfClass:foundationClass]) {
result = YES;
*stop = YES;
Expand Down

0 comments on commit b326017

Please sign in to comment.