PoporFoundation 3.10

PoporFoundation 3.10

popor 维护。



  • popor

PoporFoundation

CI Status Version License Platform

示例

要运行示例项目,请克隆存储库,然后首先从 Example 目录运行 pod install

需求

安装

PoporFoundation 可通过 CocoaPods 获得。要安装它,只需将以下行添加到您的 Podfile

pod 'PoporFoundation'

1. 一些具有运行时功能的安全函数,如 NSArray, NSDictionary, NSURL 等。2. 一些有用的工具

增加了对 macOS 的兼容性。

更新日志 0.0.36: 之后不再对 filrUrl 进行 toUrlEncode,因为发现 AVAudioPlayer 使用本地 url 不能将汉字转换为 urlCode。

1.10 增加了 NSString+pSwizzling

1.11 NSDictionary+pSwizzling setSafeObject: forKey: 增加对 key 的判断

1.13 增加: NSString.NSMutableAttributedString 生成具有间隔的 att,例如身份证、电话号码、银行卡、金钱数等

1.14 增加 NSTimer,(从 <> 截取),解决了 NSTimer 循环引用的问题,简化使用。

1.15 适配 Swift:int > NSInteger, float > CGFloat

1.16 NSAssistant 增加 paraNameOf: equal:,可以获取某个参数的名称,避免一部分硬代码。

1.20 整理 NSMutableAttributedString+pAtt 和 NSMutableParagraphStyle+pAtt,增加了链式编程代码。

1.21 NSAttributedString (pAtt) 整理

作者

Popor, [email protected]

许可证

PoporFoundation 可在MIT许可证下使用。查看LICENSE文件获取更多信息。