Skip to content

Commit

Permalink
调整Monkey的架构
Browse files Browse the repository at this point in the history
  • Loading branch information
coderyi committed Jul 11, 2015
1 parent a456555 commit 137429d
Showing 1 changed file with 2 additions and 30 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,37 +6,9 @@
// Copyright (c) 2015年 www.coderyi.com. All rights reserved.
//

#import "NSObject+Extend.h"
#import "NSObject+HUD.h"
UIAlertView *alertView;
@implementation NSObject (Extend)
//判断对象是否为空
- (BOOL)isNull
{
if ([self isEqual:[NSNull null]])
{
return YES;
}
else
{
if ([self isKindOfClass:[NSNull class]])
{
return YES;
}
else
{
if (self==nil)
{
return YES;
}
}
}
if ([self isKindOfClass:[NSString class]]) {
if ([((NSString *)self) isEqualToString:@"(null)"]) {
return YES;
}
}
return NO;
}
@implementation NSObject (HUD)
- (void)showYiProgressHUD:(NSString *)title afterDelay:(NSTimeInterval)delay{
[self showYiProgressHUD:title];

Expand Down

0 comments on commit 137429d

Please sign in to comment.