To run the example project, clone the repo, and run pod install
from the Example directory first.
pod 'YSMChineseSort','~>0.1.0'
iOS 7.1
YSMChineseSort is available through CocoaPods. To install it, simply add the following line to your Podfile:
1、import "NSArray+SortContact.h";
2、
[self.dataSource sortContactTOTitleAndSectionRow:^(BOOL isSuccess, NSArray *titleArray, NSArray *rowArray) {
if (isSuccess) {
[self.titleDataSource addObjectsFromArray:titleArray];
[self.rowDataSource addObjectsFromArray:rowArray];
}
}];
ysmeng, 49427823@163.com
YSMChineseSort is available under the MIT license. See the LICENSE file for more info.