FMIceLinkSort Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | FMIceLinkSort.h FMIceLinkSort.m |
+ quickSortWithArray:comparer:
+ (void)quickSortWithArray:(NSMutableArray *)array comparer:(FMIceLinkFunction2 *)comparerParameters
array |
The array of elements. |
|---|---|
comparer |
The function used to compare elements in the array - should return less than 0 if item 1 is less than item 2 (item 1 should appear before item 2), 0 if the items are equal, or more than 0 is item 1 is greater than item 2 (item 1 should appear after item 2). |
Discussion
Declared In
FMIceLinkSort.h
+ quickSortWithArray:comparerBlock:
+ (void)quickSortWithArray:(NSMutableArray *)array comparerBlock:(FMIceLinkCompareResult ( ^ ) ( id , id ))comparerBlockParameters
array |
The array of elements. |
|---|---|
comparerBlock |
The function used to compare elements in the array - should return less than 0 if item 1 is less than item 2 (item 1 should appear before item 2), 0 if the items are equal, or more than 0 is item 1 is greater than item 2 (item 1 should appear after item 2). |
Discussion
Declared In
FMIceLinkSort.h
+ quickSortWithArrayAndComparerBlock
+ (void ( ^ ) ( NSMutableArray *, FMIceLinkCompareResult ( ^ ) ( id , id ) ))quickSortWithArrayAndComparerBlockDiscussion
Declared In
FMIceLinkSort.h