Categories is a way to add features to classes that do not get source code. This page collects related category and keeps updating. You can subscribe to follow. The author is fille? Str? M is the co-founder and developer of @ imgnry.
Thank you for your feedback. If you have any thoughts, complaints, or suggestions, you can send me an email ([email protected]). you can also send me a message (@ bobmoff) on Twitter or app.net ).
Refer:
Official documentation for Apple: customizing existing classes
Uinavigationbar + customheight
Customize the uinavigationbar height on iOS 7 and iOS 8.
Uiview + debug
You can add a red border to the uiview to facilitate debugging. You can also try to annotate the code.
Uistatusbar + chameLeon
Chameleon is a lightweight but powerful IOS "flat colors" framework. It is built on the idea that the software should run easily and efficiently and maintain its beautiful appearance. With chameleon, you can forget the uicolor RGB value. You don't have to bother with the color combination you should use in your application, or worry about text accessibility in different colors.
As a flat color of 100%, chameleon provides three different types of flat color themes that can be obtained from flat and non-flat colors.
The new feature "flatify" is added to Chameleon. Each monochrome on the screen can be converted to a flat color that is closest to them, and is applicable to storyboard objects and program-created objects. In addition, you can simply set the color to gradient by using a line of code, whether it is the background color or text color.
Skproduct + localizedprice
Returns the IAP localized currency and price.
Uilabel + attributed
Attributedlabel uses the core text framework to set the line spacing and add details.
Uiinterpolatingmotioneffect + naturalmotion
One line of code implements simple uiinterpolatingmotioneffect, which looks like floating above or below the view and does not support swift. See http://hack.swic.name/easy-uiinterpolatingmotioneffect for details
Uiview + easingfunctions
Uiview-easingfunctions is a category of uiview. You can add a easing function to the uiview attribute that can be animated.
Test environment: xcode 5.0, IOS 6.0 or above
Uiview + lyt
Lyt is a type of uiview and nsview, which can improve the readability of autolayout. Applicable to iOS and OS X. It expresses better semantics with less code and supports code population and dynamic layout.
Nstsion + Extension
This project is an extension of nstimer, supports block, and has the function of pausing and restoring.
Nsobject + associated
A Simple Method for adding attributes and instance variables to a category.
Uiview + autolayout
Uiview-autolayout is a simple but powerful basic API that contains some categories of uiview, nsarray, and nslayoutconstraint. Uiview-autolayout has a developer-friendly interface, which is simple and clear. It uses Ib's auto layout UI options for reference, but is more flexible.
Nsobject + dproperty
Add attributes to objective-C category.
Uiviewcontroller + marypopin
Marypopin is a uiviewcontroller class that displays more flexible modal views. Although there are many similar projects on the network, marypopin has its own features:
Nslayoutconstraint + tatlayoutfactory
Tatlayout reduces the number of write layout constraints and makes the code easy to read, maintain, and dynamically adjust.
Uiimageview + faceawarefill
This category uses the aspect fill content mode, which can be automatically adjusted based on the image content. When a face is detected, it replaces the geometric center of the image with the face center.
Test environment: xcode 5.0, IOS 6.0 or above
Nsregularex + objcregex
Objective-C-RegEx-categories is an extension of nsregularexpression. It can combine many regular expressions in object-C into one, simplifying the code.
This library does not have any dependencies and is applicable to iOS 4 + and OS X 10.7 +.
Nsobject + autocoding
Autocoding is a nsobject category that provides automatic support for nscoding and nscopying.
Compatible with arc and non-arc compilation targets
Support iOS 7.0/Mac OS 10.9 (xcode 5.0, Apple llvm compiler 5.0)
Nsinvocation + simplecreation
Simple Method for creating invocations
Nsstring + shpersian
Shpersian is a tool provided by IOS developers who use Persian and Arabic. It contains a required class for adding custom appearances to texts in the Persian iOS app.
Uilabel + contentsize
Calculate the content size in uilabel.
Uiviewcontroller + swizzled
Record the uiviewcontroller level, including the name of your view controller and the display of your access level.
Nsobject + Association
Have you always wanted to display "userinfo" to uialertview? The Association category can assign any object to any other object (from ios3.1 and Mac OS 10.6 to the latest system version .)
Nshttpcookiestorage + freezedry
When the app restarts, clear the uiwebview cookies.
Uidevice + hardware
Check the version of the hardware device.
Nsobject + logdealloc
Is an nsobject category that is very useful for tracking memory leaks
Nsobject + sfobservers
Is an extension of nsicationicationcenter and KVO, which can automatically remove the observer.
Uiapplication + networkactivity
Uiapplication + networkactivity tracks network operations you have recently performed and manages networkactivityindicator.
Uiview + Recursion
Recursively traverse (Search) subview
Uiview + roundedcorners
Use a layer mask to add rounded corners to a view
Uiview + stacker
Stack subviews are vertically ordered by indexes. It is mainly used for-When XIB is used and when view layout is required (display/hide)-When based on external data. However, it cannot be used for autolayout ..
Nsstring + pdregex
Simplify the use of regular expressions
Mkmapview + movelogo
This category allows you to move the mkmapview logo, Even if you put other things on the mapview, it can still be visible. If the logo is hidden, it cannot be reviewed by the App Store. Tests have been performed on iOS 5-iOS 7.
Nsdate + escort
Nsdate-escort is an nsdate utility library and is compatible with nsdate-extensions APIs.
Uilabel + dynamicsizeme
Adjust uilabel to change its framework based on content
Uiview + toast
It is applicable to Android-style toAs notifications on IOS.
Uiimage + nyximageskit
Nyximageskit is an iOS project that restructured multiple useful uiimage categories and can process multiple images and images, for example, filter, blur, optimize, mask, resize, rotate, and save. In addition, a subclass of uiimageview is provided to asynchronously load images from URLs and display the images after downloading.
Uiviewcontroller + mjpopup
Mjpopupviewcontroller is a uiviewcontroller category that uses different transition effects to display viewcontroller as a pop-up view.
Uiimage + mgimageutilities
Mgimageutilities: uiimage + proportionalfill and uiimage + tint. You can use uiimage + proportionalfill to adjust the size of any image. You can use uiimage + tint to color the image.
Multipleobjects + dtfoundation
Dtfoundation integrates practical methods and category extensions, and gradually evolves into a fully-documented toolset that records and tests code to accelerate development.
Uiimageview + webcache
Sdwebimage provides a uiimageview category to manage remote images from the network. It features asynchronous loading, cache management, control of the number of downloads from the same URL, and optimization. Easy to use.
Uicolor + colours
100 sets of beautiful premade colors and color schemes make your iOS/OS X development easier.
Uiimage + pdfcoloredimage
Uiimage-coloring coloredimage is a uiimage extension that converts a black PDF image into a uiimage of any size or color, with only one line of code and ease of use.
Nsdata + asynccacher
Nsdata-asynccacher is a category of nsdata. It is used to asynchronously load data from URLs and blocks. The request data is cached using nscache and can be requested multiple times.
Nsdate + helper
Extended cocoa nsdate through some convenient Functions
Multipleobjects + objectivesugar
Objective-C additions for humans. Ruby style.
Mkmapview + zoomlevel
Set the scaling ratio in mapview.
Nsstring + extensions
A category for nsstrings. It can convert string to sha1 and nsnumber. Checks whether the string is null, whether it contains a substring, and replaces the substring in nsdictionary.
Uiview + utils
Viewutils is a collection of category methods. These methods are extended by uiview and contain many convenient attributes and methods, many of which are built-in to Apple.
Nsdate + timeago
Make nsdate report time, such as "a moment ago", "30 seconds ago", "5 minutes ago", "Yesterday", "last month ", "2 years ago" and others.
Nsstring + fontawesome
Fontawesome + IOS is an open source image font library. By extending nsstring, you can easily use the fontawesome font in your app.
Http://fortawesome.github.io/Font-Awesome/
Nsarray + firstobject
Obtain the first object from the array, or return zero from the empty array.
Nsobject + autodescription
Ability to simply describe logs for any class (derived from nsobject)
Cgrect + Additions
Some functions that process cgrects.
Uiview + modifyframe
The simple and practical uiview category makes modifying the framework less abnormal.
Nsstring + usefulshit
Objective-C category demonstration
Collection (update) of objective-C related category)