File tree Expand file tree Collapse file tree 1 file changed +2
-30
lines changed
Monkey/MonkeyKit/Category Expand file tree Collapse file tree 1 file changed +2
-30
lines changed Original file line number Diff line number Diff line change 66// Copyright (c) 2015年 www.coderyi.com. All rights reserved.
77//
88
9- #import " NSObject+Extend .h"
9+ #import " NSObject+HUD .h"
1010UIAlertView *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
You can’t perform that action at this time.
0 commit comments