Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/caichenghan/addition
对字典、字符串、NSOject类的扩展,起到字典取值保护,模型归档等。
https://github.com/caichenghan/addition
addition objective-c
Last synced: 3 months ago
JSON representation
对字典、字符串、NSOject类的扩展,起到字典取值保护,模型归档等。
- Host: GitHub
- URL: https://github.com/caichenghan/addition
- Owner: CaiChenghan
- License: mit
- Created: 2015-04-16T07:37:28.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2022-01-12T08:07:20.000Z (about 3 years ago)
- Last Synced: 2024-10-31T17:26:16.451Z (3 months ago)
- Topics: addition, objective-c
- Language: Objective-C
- Homepage:
- Size: 1.14 MB
- Stars: 32
- Watchers: 7
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Addition
[![CI Status](http://img.shields.io/travis/CaiChenghan/Addition.svg?style=flat)](https://travis-ci.org/CaiChenghan/Addition)
[![Version](https://img.shields.io/cocoapods/v/Addition.svg?style=flat)](http://cocoapods.org/pods/Addition)
[![License](https://img.shields.io/cocoapods/l/Addition.svg?style=flat)](http://cocoapods.org/pods/Addition)
[![Platform](https://img.shields.io/cocoapods/p/Addition.svg?style=flat)](http://cocoapods.org/pods/Addition)## Usage
To run the example project, clone the repo, and run `pod install` from the Example directory first.
## Requirements
## Installation
Addition is available through [CocoaPods](http://cocoapods.org). To install
it, simply add the following line to your Podfile:```ruby
pod 'Addition', '~>1.4.0'
```## Author
蔡成汉, [email protected]
## License
Addition is available under the MIT license. See the LICENSE file for more info.
## 更新说明
- 1.5.1 NSString encode、decode方法更新。
- 1.5.0 NSDictionry取值方法移除。
- 1.4.0 UIView获取controller。
- 1.3.0 中文与Unicode互转。
- 1.2.0 UIScrollView侧滑返回。
- 1.1.1 UIImage图片裁剪内存泄漏问题修复。
- 1.1.0 UIImage颜色绘制图片,增加尺寸控制。
- 1.0.0 UIImage图片模糊方法采用异步处理,同时增加尺寸参数,减少磨砂时间消耗。
- 0.2.9 NSDate时间戳转标准时间方法补充。
- 0.2.8 图片裁剪优化。
- 0.2.7 增加UIImage扩展,用于图片圆角裁剪。
- 0.2.6 增加UIFont扩展,用于字体安全赋值。
- 0.2.5 增加Addition.h文件,方便多个扩展同时引用。
- 0.2.4 Addition扩展类集采用分层的Subspecs管理,各个分类的使用,需单独引入。
- 0.2.3 UIImage视图转图片对scrollView的支持,可截取整个scrollView页面。
- 0.2.2 UIImage增加视图转图片和图片裁剪方法;移除屏幕截取方法。
- 0.2.1 NSDictionary安全取值取不到时返回指定类型空数据,例如空字符串、空数组等,
- 0.2.0 iOS最低支持从8.0开始;UIView增加单击扩展;代码整理。
- 0.1.5 新增Base64加密解密方法。
- 0.1.4 修复NSDate的md5方法,原方法md5失败。
- 0.1.3 新增NSDate取时间间隔+(void)getSepTimeWithDay...方法。
- 0.1.2 新增NSString的encode和decode方法。
- 0.1.1 新增NSDate扩展,方便时间获取。
- 0.1.0 修复0.0.9字典取值类型错误问题。
- 0.0.9 修复0.0.8字典安全赋值书写错误。