Giter Club home page Giter Club logo

zxcategories's Introduction

ZXCategories

CI Status Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

ZXCategories is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "ZXCategories"

Usage

Foundation

  • NSArray
    • NSArray+ZXJson 数组转换json字符串 传给后台经常用
  • NSData
    • NSData+ZXBase64 base64相关
    • NSData+ZXEncrypt AES DES 3DES 对称加密
    • NSData+ZXGzip 压缩 解压
    • NSData+ZXHash hash md5 不可逆
  • NSDate
    • NSDate+ZXDateFormatter 格式转换相关
    • NSDate+ZXExtension 年月日常用操作
  • NSFileManager
    • NSFileManager+ZXPaths 常用doc lib cache路径返回
  • NSString
    • NSString+ZXBase64 base64转换
    • NSString+ZXEmoji emoji表情相关 是否包含 移除 转换成字符串 字符串转换回表情(服务器若不支持emoji时用到)
    • NSString+ZXEncode url需要转成utf-8时使用
    • NSString+ZXEncrypt AES DES 3DES 对称加密
    • NSString+ZXHash hash md5
    • NSString+ZXPinyin 汉子转拼音相关
    • NSString+ZXSize 计算字符串占用大小相关
    • NSString+ZXValid 验证手机号 邮箱 身份证等

UIKit

  • UIColor
    • UIColor+ZXHEX.h 十六进制转颜色相关
    • UIColor+ZXRandom 随机一个颜色
  • UIImage
    • UIImage+Alpha 判断图片是否有透明通道及添加透明通道(有些没有透明通道的图片使用Quartz 2D相关方法会崩溃)
    • UIImage+ZXCapture 截图相关
    • UIImage+ZXColor 颜色转Image
    • UIImage+ZXCompress 图片压缩 使用UIGraphicsBeginImageContextWithOptions相关API
    • UIImage+ZXFileName 提供路径加载图片 不缓存图片
    • UIImage+ZXOthers 缩放动画抗锯齿
    • UIImage+ZXQRCode 二维码相关
    • UIImage+ZXResize 改变图片大小 使用Quartz 2D相关API
    • UIImage+ZXRoundedCorner 高性能圆角图片
    • UIImage+ZXStretch 图片拉伸相关
    • UIImage+ZXTransform 缩放 旋转
  • UINavigationController
    • UINavigationController+ZXStackManager pop回指定层次控制器等
  • UITableViewCell层次
    • UITableViewCell+ZXNib 获取cell的nib
  • UIView
    • UIView+ZXBlockGesture 快速添加手势block
    • UIView+ZXLayout frame快捷封装 比如view.x
    • UIView+ZXNib 从nib加载相关
  • UIViewController
    • UIViewController+ZXBackButtonTouched 使用block替换返回按钮的事件
    • UIViewController+ZXStoryboard 从storyboard加载控制器

Author

Apple, [email protected]

License

ZXCategories is available under the MIT license. See the LICENSE file for more info.

zxcategories's People

Contributors

mrguys avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.