Giter Site home page Giter Site logo

jsextension's Introduction

JSExtension

  • 项目开发中的工具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是否是今年

jsextension's People

Contributors

shenyj avatar

Stargazers

 avatar

Watchers

 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.