Skip to content

Commit

Permalink
修改NSObject+BXOperation.h的api
Browse files Browse the repository at this point in the history
  • Loading branch information
phoebus committed Jul 7, 2015
1 parent 8f27e90 commit 493c674
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion BaixingSDK.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

Pod::Spec.new do |s|
s.name = "BaixingSDK"
s.version = "1.0.2"
s.version = "1.0.3"
s.summary = "It is a baixing base library."
s.description = "It is a baixing base library. Join us:shaozhengxingok@126.com"
s.homepage = "https://github.com/iException/BaixingSDK"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
- (void)bx_setSafeObject:(id)object forSafeKey:(id)key;
- (void)bx_setSafeValue:(id)value forSafeKey:(NSString *)key;

- (void)bx_bx_removeSafeObjectForKey:(id)key;
- (void)bx_removeSafeObjectForKey:(id)key;

// NSArray
- (id)bx_safeObjectAtIndex:(NSUInteger)index;
Expand All @@ -26,7 +26,7 @@

// NSMutableArray
- (void)bx_addSafeObject:(id)object;
- (void)bx_bx_removeSafeObjectAtIndex:(NSUInteger)index;
- (void)bx_removeSafeObjectAtIndex:(NSUInteger)index;
- (void)bx_replaceSafeObjectAtIndex:(NSUInteger)index withSafeObject:(id)object;
- (void)bx_removeSafeObject:(id)object;
- (BOOL)bx_containsSafeObject:(id)object;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ - (void)bx_setSafeValue:(id)value forSafeKey:(NSString *)key
[self bx_setSafeObject:value forSafeKey:key];
}

- (void)bx_bx_removeSafeObjectForKey:(id)key
- (void)bx_removeSafeObjectForKey:(id)key
{
if (NO == [self isKindOfClass:[NSMutableDictionary class]]) {
return;
Expand Down Expand Up @@ -132,7 +132,7 @@ - (void)bx_addSafeObject:(id)object
}
}

- (void)bx_bx_removeSafeObjectAtIndex:(NSUInteger)index
- (void)bx_removeSafeObjectAtIndex:(NSUInteger)index
{
NSAssert([self isKindOfClass:[NSArray class]], @"object is not an array");

Expand Down

0 comments on commit 493c674

Please sign in to comment.