Latest 0.0.6
Homepage https://github.com/ShenYj/JSExtension
License MIT
Platforms ios 8.0, requires ARC
Authors
  • 项目开发中的工具ShenYj

iOS 8.0 +

支持pod

Podfile

To integrate JSExtension into your Xcode project using CocoaPods, specify it in your Podfile:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'

target 'TargetName' do
pod 'JSExtension'
end

Then, run the following command:

$ pod install

And then import the header file in your target:

#import <JSUIkitExtension.h>

包含内容

  • NSObject+JSObjc.h –> 运行时取得类的属性列表
  • NSArray+JSLog.h –> 控制台打印中文
  • NSString+Hash.h –> MD5相关
  • NSString+JSExtension.h –> 汉字转印标相关
  • UIImage+JSExtension.h –> 图片处理相关 
  • UINavigationController+JSFullScreenPopGesture.h –> 运行时全屏返回手势
  • UIView+JSFrame.h –>  添加Frame的:x,y,width,height属性
  • UIColor+JSExtension.h –> RGB颜色、随机色以及十六进制设置颜色
  • NSString+JSFileSize.h–>获取文件或文件夹总大小(新增)
  • UIApplication+DeviceInfo.h–>获取设备和应用信息(新增)

默认未导入的类:

  • JSTextLabel.h –> 超链接处理
  • JSDateFormatter.h –> 单例类 
  • NSString+Emoji.h –> Emoji相关
  • NSDate+JSIsThisYear.h –> NSDate扩展:将NSDate类型对象转换为特定格式的字符串、判断date是否是今年

Latest podspec

{
    "name": "JSExtension",
    "version": "0.0.6",
    "summary": "u9879u76eeu5f00u53d1u4e2du7684u5de5u5177u3001u8bedu6cd5u7cd6",
    "homepage": "https://github.com/ShenYj/JSExtension",
    "license": "MIT",
    "platforms": {
        "ios": "8.0"
    },
    "authors": {
        "Ryan": "[email protected]"
    },
    "source": {
        "git": "https://github.com/ShenYj/JSExtension.git",
        "tag": "0.0.6"
    },
    "source_files": "JSExtension/JSExtension/UIKit+JSExtension/**/*.{h,m}",
    "requires_arc": true
}

Pin It on Pinterest

Share This