# LYJListSectionService **Repository Path**: 6253175234/LYJListSectionService ## Basic Information - **Project Name**: LYJListSectionService - **Description**: 列表自动分区,并排序 - **Primary Language**: Objective-C - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2017-03-28 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # LYJListSectionService [![CI Status](http://img.shields.io/travis/li625317534/LYJListSectionService.svg?style=flat)](https://travis-ci.org/li625317534/LYJListSectionService) [![Version](https://img.shields.io/cocoapods/v/LYJListSectionService.svg?style=flat)](http://cocoapods.org/pods/LYJListSectionService) [![License](https://img.shields.io/cocoapods/l/LYJListSectionService.svg?style=flat)](http://cocoapods.org/pods/LYJListSectionService) [![Platform](https://img.shields.io/cocoapods/p/LYJListSectionService.svg?style=flat)](http://cocoapods.org/pods/LYJListSectionService) ## Example To run the example project, clone the repo, and run 'pod install' from the Example directory first. 如果 pod install 无法找到,可以使用 pod update 方法简介: 方法一: // 作用: 排序 + (NSArray *)sorted:(NSArray *)sortedArray isAscending:(Boolean)isAscending compareName:(NSString *)compareName; 方法二: // 作用: 汉字字符串转化拼音 + (NSString *)pinyinWithString:(NSString *)string; 方法三: // 作用: 获取字符串的首字母(大写) + (NSString *)firstCharactorWithString:(NSString *)string; 方法四: // 作用: 将列表进行分区并排序 + (NSArray *)sectionArrayWithArray:(NSArray *)array isAscending:(BOOL)isAscending sectionName:(NSString *)sectionName; ## Requirements ## Installation LYJListSectionService is available through [CocoaPods](http://cocoapods.org). To install it, simply add the following line to your Podfile: ```ruby pod 'LYJListSectionService' ``` ## Author li625317534, 625317534@qq.com ## License LYJListSectionService is available under the MIT license. See the LICENSE file for more info.