Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

添加注释 #3

Merged
merged 1 commit into from

1 participant

@xhzengAIB
Collaborator

No description provided.

@xhzengAIB xhzengAIB merged commit 1ba48ab into master
@xhzengAIB xhzengAIB deleted the XHDeveloperBranch branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 14, 2014
  1. @xhzengAIB

    添加注释

    xhzengAIB authored
This page is out of date. Refresh to see the latest.
Showing with 9 additions and 2 deletions.
  1. +9 −2 TeemoFramework/ToolKit/NSArray+TMODuplicate.h
View
11 TeemoFramework/ToolKit/NSArray+TMODuplicate.h
@@ -11,14 +11,21 @@
@interface NSArray (TMODuplicate)
/**
- * 去重的算法
+ * 合并两个数组,并且去重
*
* @param currentArray 需要添加的目标数组
*
- * @return 返回目标数组合并到本身后,再去重的数组
+ * @return 返回去重的数组
*/
- (NSArray *)unionWithoutDuplicatesWithArray:(NSArray *)currentArray;
+/**
+ * 根据某个key合并两个数组,并且根据该key进行去重
+ *
+ * @param currentArray 需要添加的目标数组
+ *
+ * @return 返回去重的数组
+ */
- (NSArray *)unionWithoutDuplicatesWithArray:(NSArray *)currentArray forKey:(NSString *)currentKey;
@end
Something went wrong with that request. Please try again.