# KJCategories
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-brightgreen.svg?style=flat&colorA=28a745&&colorB=4E4E4E)](https://github.com/yangKJ/KJCategories)
[![Releases Compatible](https://img.shields.io/github/release/yangKJ/KJCategories.svg?style=flat&label=Releases&colorA=28a745&&colorB=4E4E4E)](https://github.com/yangKJ/KJCategories/releases)
[![CocoaPods Compatible](https://img.shields.io/cocoapods/v/KJCategories.svg?style=flat&label=CocoaPods&colorA=28a745&&colorB=4E4E4E)](https://cocoapods.org/pods/KJCategories)
[![Platform](https://img.shields.io/badge/Platforms-iOS%20%7C%20macOS%20%7C%20watchOS-4E4E4E.svg?colorA=28a745)](#installation)
<p align="left">
<img src="Screenshots/AT.jpeg" width="800" hspace="1px">
</p>
<font color=red size=3>Set of **Extensions** and **Custom control** for standard types and classes.</font>
<font color=red>Just like Doraemon’s pocket, has an endless variety of props for us to use.</font>
English | [简体中文](https://github.com/yangKJ/KJCategories/blob/master/README_CN.md)
---
- [x] OpenCV: Hough correction, feature extraction, image processing package, morphological processing, filter processing, photo restoration, etc.
- [x] NSArray: Related processing of the elements in the array, etc.
- [x] NSDate: Time transformation, etc.
- [x] UIButton: Emitter animation, image and text mixing, click event encapsulation, expanded click field, time interval limit, countdown, click particle effect, etc.
- [x] UIView: Gesture package, rounded corner gradient, Xib attribute, basic animation package, etc.
- [x] UITextView: Expand the input box, limit the number of words, cancel processing, get the internal hyperlink of the text, etc.
- [x] UITextField: Placeholder color, line, graphic processing, etc.
- [x] UILabel: Rich text, fast display text position, etc.
- [x] UIImage: Screenshot and cropping, image compression, mask processing, image stitching, image size processing, filter rendering, flooding algorithm, etc.
- [x] UIImage: QR code, barcode generation, dynamic image playback, watermark processing, etc.
- [x] NSObject: GCD, asynchronous timer, resident thread, thread keep alive, runtime methods, etc.
- [x] NSString: Hash crypto, mathematical operators, unit conversion, etc.
- [x] Other: Gradient slider, Open screen particle animation, projection and shadow, etc.
##### Encapsulation exception Handling [FoggyDemo](https://github.com/yangKJ/Foggy)
### <a id="Catalogue list"></a>Catalogue list ###
- **[OpenCV](#OpenCV)**
- **[NSArray](#NSArray)**
- **[NSDate](#NSDate)**
- **[NSDictionary](#NSDictionary)**
- **[NSObject](#NSObject)**
- **[NSString](#NSString)**
- **[UIButton](#UIButton)**
- **[UIColor](#UIColor)**
- **[UIDevice](#UIDevice)**
- **[UIImage](#UIImage)**
- **[UILabel](#UILabel)**
- **[UISlider](#UISlider)**
- **[UITextField](#UITextField)**
- **[UITextView](#UITextView)**
- **[UIView](#UIView)**
- **[UIViewController](#UIViewController)**
### Methods and Functions
#### <a id="OpenCV"></a>OpenCV ####
- Opencv picture processing.
| Name | Signatures |
| ---- | ---- |
| Picture Tile | kj_opencvTiledRows:cols: |
| Four-point perspective image based on perspective | kj_opencvWarpPerspectiveWithKnownPoints:size: |
| Eliminate image highlights | kj_opencvIlluminationChangeBeta:alpha: |
| Picture Blending | kj_opencvBlendImage:alpha: |
| Adjust picture brightness and contrast | kj_opencvChangeContrast:luminance: |
| Modify the color of the picture channel value | kj_opencvChangeR:g:b: |
| Blur processing | kj_opencvBlurX:y: |
| Gaussian Blur | kj_opencvGaussianBlurX:y: |
| Median Blur | kj_opencvMedianBlurksize: |
| Gaussian Bilateral Blur | kj_opencvBilateralFilterBlurRadio:sigma: |
| Custom linear blur | kj_opencvCustomBlurksize: |
| Morphology operations | kj_opencvMorphology:element: |
| Remove watermark | kj_opencvInpaintImage: |
| Picture repair, effect enhancement processing | kj_opencvRepairImage |
| Cut out the largest inner rectangular area | kj_opencvCutMaxRegionImage |
| Feature extraction | kj_opencvFeatureExtractionFromSobel |
| Hough line judgment and correction | kj_opencvHoughLinesCorrectTextImageFillColor: |
☝ **[Return to the catalogue list](#Catalogue list)** ☝
#### <a id="NSArray"></a>NSArray ####
- Related processing of the elements in the array.
| Name | Signatures |
| ---- | ---- |
| Is it empty| isEmpty |
| Filter data | kj_detectArray: |
| Multidimensional array data | kj_detectManyDimensionArray: |
| Search data | kj_searchObject: |
| Map | kj_mapArray: |
| Insert data to the destination | kj_insertObject: |
| Array calculation intersection | kj_arrayIntersectionWithOtherArray: |
| Array calculation difference| kj_arrayMinusWithOtherArray: |
| Randomly Disorganize Array | kj_disorganizeArray |
| Delete the same element in the array| kj_delArrayEquelObj |
| Binary Search| kj_binarySearchTarget: |
| Bubble Sort| kj_bubbleSort |
| Insert Sort | kj_insertSort |
| Selection Sort| kj_selectionSort |
☝ **[Return to the catalogue list](#Catalogue list)** ☝
#### <a id="NSDate"></a>NSDate ####
- Time transformation.
| Name | Signatures |
| ---- | ---- |
| Convert date to local time | kj_localeDate |
| Time string conversion NSDate | kj_dateFromString: |
| Time string to NSDate | kj_dateFromString:format: |
| Get the current timestamp | kj_currentTimetampWithMsec: |
| Timestamp to time | kj_timeWithTimestamp:format: |
| Get the UTC timestamp of the specified time | kj_timeStampUTCWithTimeString: |
☝ **[Return to the catalogue list](#Catalogue list)** ☝
#### <a id="NSDictionary"></a>NSDictionary ####
- Dictionary common methods.
| Name | Signatures |
| ---- | ---- |
| Is it empty | isEmpty |
| Convert to Josn String | jsonString |
| Whether to include a key | kj_containsKey: |
| Dictionary keys in ascending order | kj_keysSorted |
| Dictionary key name descending order | kj_keySortDescending |
| Quickly traverse the dictionary | kj_applyDictionaryValue: |
| Mapping | kj_mapDictionary: |
| Merge | kj_mergeDictionary: |
| Selector | kj_pickForKeys: |
| Remover | kj_omitForKeys: |
☝ **[Return to the catalogue list](#Catalogue list)** ☝
#### <a id="UIView"></a>UIView ####
- Advanced Edition Rounded Corners and Border Extension.
| Name | Signatures |
| ---- | ---- |
| Bezier Fillet | bezierRadius |
| Shadow Offset | shadowOffset |
| Shadow Opacity | shadowOpacity |
| Shadow Width | shadowWidth |
| Shadow rounded corners | shadowRadius |
| Shadow Color | shadowColor |
| Corner Radius | cornerRadius |
| Border Width | borderWidth |
| Border Color | borderColor |
| Image properties | viewImage |
| Top Controller | topViewController |
| Current Controller | viewController |
| Current Controller | kj_currentViewController |
| View created by Xib | kj_viewFromXib |
| View created by Xib | kj_viewFromXibWithFrame: |
| Fillet radius | kj_radius |
| Rounded corner orientation | kj_rectCorner |
| Border Color | kj_borderColor |
| Border width | kj_borderWidth |
| Border Orientation | kj_borderOrientation |
| Size | size |
| Location | origin |
| x coordinate | x |
| y coordinate | y |
| Width | width |
| Height | height |
| Center point x | centerX |
| Center point y | centerY |
| Left distance | left |
| Right distance | right |
| Top distance | top |
| Bottom distance | bottom |
| x + width | maxX |
| y + height | Property |maxY |
| After Masonry layout x | masonry_x |
| After Masonry layout y | masonry_y |
| Masonry width after layout | masonry_width |
| Masonry height after layout | masonry_height |
| Center the view in its parent view | kj_centerToSuperview |
| Distance from the right of the parent view | kj_rightToSuperview: |
| Distance from the bottom of the parent view | kj_bottomToSuperview: |
| Get the highest Y of the subview | kj_subviewMaxY |
| Get the highest X of the subview | kj_subviewMaxX |
| Find Subview | kj_FindSubviewRecursively: |
| Remove all subviews | kj_removeAllSubviews |
| Hide/Show all subviews | kj_h
没有合适的资源?快使用搜索试试~ 我知道了~
KJCategories-master
共334个文件
h:89个
m:85个
swift:53个
需积分: 5 0 下载量 15 浏览量
2022-07-02
11:29:04
上传
评论
收藏 3.7MB ZIP 举报
温馨提示
KJCategories-master
资源详情
资源评论
资源推荐
收起资源包目录
KJCategories-master (334个子文件)
.DS_Store 6KB
.gitattributes 93B
.gitignore 2KB
UIImage+KJCoreImage.h 5KB
KJUIKitHeader.h 4KB
NSObject+KJGCDBox.h 4KB
UIView+KJRectCorner.h 4KB
NSArray+KJExtension.h 3KB
UIView+KJFrame.h 3KB
KJCategories-umbrella.h 3KB
NSString+KJMath.h 3KB
KJCategories.h 3KB
UIDevice+KJSystem.h 2KB
KJCoreHeader.h 2KB
UIView+KJAnimation.h 2KB
KJFoundationHeader.h 2KB
NSObject+KJDoraemonBox.h 2KB
UIImage+KJJoint.h 2KB
UINavigationBar+KJExtension.h 2KB
UIImage+KJQRCode.h 2KB
UIImage+KJAccelerate.h 2KB
UITextField+KJCustomView.h 2KB
UIColor+KJExtension.h 2KB
NSString+KJSecurity.h 2KB
UIResponder+KJAdapt.h 2KB
NSObject+KJRuntime.h 2KB
UINavigationItem+KJExtension.h 2KB
UIButton+KJContentLayout.h 2KB
UIImageView+KJDoraemonBox.h 2KB
KJEmitterAnimationProvider.h 2KB
UIView+KJXib.h 2KB
NSTimer+KJExtension.h 2KB
UIImage+KJCut.h 2KB
NSString+KJSize.h 2KB
UIImage+KJResize.h 2KB
NSArray+KJPredicate.h 2KB
NSDictionary+KJReadWrite.h 2KB
NSString+KJVerify.h 2KB
UIImage+KJMask.h 2KB
UIImage+KJFloodFill.h 2KB
UIColor+KJGradient.h 2KB
UILabel+KJExtension.h 1KB
UIImage+KJExtension.h 1KB
UILabel+KJAttributeTextTapAction.h 1KB
UIImage+KJCapture.h 1KB
NSDictionary+KJExtension.h 1KB
UIView+KJGestureBlock.h 1KB
KJGradientSlider.h 1KB
UIButton+KJBlock.h 1KB
NSString+KJPasswordLevel.h 1KB
NSDate+KJDayWeek.h 1KB
UIImage+KJGIF.h 1KB
NSString+KJExtension.h 1KB
UIColor+KJExtension2.h 1KB
NSDate+KJFormat.h 1KB
NSString+KJBlockChain.h 1KB
UITextView+KJHyperlink.h 1001B
UITextField+KJExtension.h 994B
UILabel+KJExtension2.h 991B
NSString+KJHash.h 926B
NSArray+KJMathSort.h 841B
UIButton+KJIndicator.h 833B
NSObject+KJkvo.h 784B
UIImage+KJCompress.h 761B
UIViewController+KJFullScreen.h 756B
UIView+KJKeyboard.h 747B
UIDevice+KJExtension.h 732B
NSObject+KJExtension.h 725B
UITextView+KJLimitCounter.h 687B
NSString+KJRegex.h 677B
UIViewController+KJExtension.h 673B
KJEmitterAnimation.h 667B
UIButton+KJEmitter.h 658B
UICollectionView+KJTouch.h 638B
NSObject+KJRunLoop.h 637B
UIImage+KJDoraemonBox.h 626B
UITabBar+KJBadge.h 625B
UIButton+KJCountDown.h 599B
UIBezierPath+KJPoints.h 496B
UIImage+KJURLSize.h 484B
NSString+KJEmoji.h 474B
UISlider+KJTapValue.h 462B
UIBezierPath+KJText.h 449B
UITextView+KJPlaceHolder.h 442B
UITextView+KJBackout.h 408B
NSData+KJExtension.h 399B
NSObject+KJDealloc.h 342B
Pods-KJCategories_Example-umbrella.h 342B
Pods-KJCategories_Tests-umbrella.h 338B
SnapKit-umbrella.h 306B
FloodImageVieController.h 216B
KJCategories_Example-Bridging-Header.h 180B
AT.jpeg 194KB
bear.jpeg 32KB
KJCategories.podspec.json 4KB
Contents.json 2KB
Contents.json 695B
Contents.json 695B
Contents.json 695B
Contents.json 347B
共 334 条
- 1
- 2
- 3
- 4
weixin_38934440
- 粉丝: 18
- 资源: 10
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0