Skip to content

Commit 137429d

Browse files
committed
调整Monkey的架构
1 parent a456555 commit 137429d

File tree

1 file changed

+2
-30
lines changed

1 file changed

+2
-30
lines changed
Lines changed: 2 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -6,37 +6,9 @@
66
// Copyright (c) 2015年 www.coderyi.com. All rights reserved.
77
//
88

9-
#import "NSObject+Extend.h"
9+
#import "NSObject+HUD.h"
1010
UIAlertView *alertView;
11-
@implementation NSObject (Extend)
12-
//判断对象是否为空
13-
- (BOOL)isNull
14-
{
15-
if ([self isEqual:[NSNull null]])
16-
{
17-
return YES;
18-
}
19-
else
20-
{
21-
if ([self isKindOfClass:[NSNull class]])
22-
{
23-
return YES;
24-
}
25-
else
26-
{
27-
if (self==nil)
28-
{
29-
return YES;
30-
}
31-
}
32-
}
33-
if ([self isKindOfClass:[NSString class]]) {
34-
if ([((NSString *)self) isEqualToString:@"(null)"]) {
35-
return YES;
36-
}
37-
}
38-
return NO;
39-
}
11+
@implementation NSObject (HUD)
4012
- (void)showYiProgressHUD:(NSString *)title afterDelay:(NSTimeInterval)delay{
4113
[self showYiProgressHUD:title];
4214

0 commit comments

Comments
 (0)