This library provides some category for Foundation and UIKit.


You can build and install docset use Docset scheme in Xcode, appledoc need to be pre-installed. Or your can read the Documentation online.



  1. Download all the files in the FDCategories subdirectory.
  2. Add the source files to your Xcode project.
  3. Import YYCategories.h.


This library requires iOS 6.0+ and Xcode 7.0+.


I want to use the APIs as if it was provided by system, so I don't add prefix in these categories. This may cause some potential problems(such as conflict with other libraries), so if you just need some pieces of code in this project, pick them out and don't import the whole library.


FDCategories is provided under the MIT license. See LICENSE file for details.