Skip to content

Releases: ZHK1024/LLGeneral

修改 swift 版本为 5.5, 最低适配版本为 iOS13.0

Choose a tag to compare

@Ruris Ruris released this 08 Sep 01:32

修改 swift 版本为 5.5, 最低适配版本为 iOS 13.0

  • 添加 UIAlertController UIImage UIApplication 便利性扩展

新增 LLError

Choose a tag to compare

@Ruris Ruris released this 29 Oct 06:59

新增 1LLError1

新增 `LLDirectory` 和 `SourceDecodable` 的 `propertyWrapper`

Choose a tag to compare

@Ruris Ruris released this 09 Oct 09:19

新增 LLDirectorySourceDecodablepropertyWrapper

添加默认模块

Choose a tag to compare

@Ruris Ruris released this 26 Aug 02:14

Math, Extensions 设定为 默认模块

添加 CoreGraphics 新扩展

Choose a tag to compare

@Ruris Ruris released this 25 Aug 07:41
0.3.9

Update LLGeneral.podspec

扩展 CGFloat

Choose a tag to compare

@Ruris Ruris released this 23 Aug 04:00

新增 pix_1 : 1 像素的封装

添加 UIResponder 扩展

Choose a tag to compare

@Ruris Ruris released this 09 Aug 08:40

UIResponder 增加以下扩展方法

/// 根据条件查找响应链上的对象
/// - Parameter finder: 查找逻辑
/// - Returns: 查找结果
public func find<T: UIResponder>(finder: (UIResponder) throws -> T?) rethrows -> T?
    
/// 根据条件查找响应链上的对象
/// - Parameters:
///   - skip:      跳过次数 (达到查找第 skip 个对象的目的)
///   - transform: 查找逻辑
/// - Returns: 查找结果
public func find<T: UIResponder>(skip: Int ,transform: (UIResponder) throws -> Bool) rethrows -> T? 

提供 UIView 扩展

Choose a tag to compare

@Ruris Ruris released this 02 Aug 03:22

快速属性获取

增加 UITextField 扩展

Choose a tag to compare

@Ruris Ruris released this 29 Jul 06:59

增加 selectAllText 方法: 选中全部文本

新增 NSAttributedString 扩展

Choose a tag to compare

@Ruris Ruris released this 28 Jul 02:38

新增从 rtf 文件加载富文本的扩展