Swiftpack.co - Swift Packages by lixiang1994

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.

Packages published by lixiang1994

lixiang1994/LEETheme 1.2.1
优雅的主题管理库- 一行代码完成多样式切换
⭐️ 814
🕓 2 days ago
🔖 Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
添加隐私清单
2 days ago
添加隐私清单
1 week ago
增加对Swift Package Manager支持
3 years ago
https://github.com/lixiang1994/LEETheme/pull/25
内部优化 顺便修复后台系统APP进程页面 无法跟随系统主题更新截图样式的问题
3 years ago
修复Pods版本配置, 适配iOS13 `_placeholderLabel.textColor`私有方法问题
4 years ago
更改开源协议为MIT
4 years ago
调整持续集成测试配置
6 years ago
优化标识符模式, 完善细节处理
6 years ago
- 优化清空标识符设置 - 优化移除某一标识符设置 - 优化标识符模式的`selector`设置方法 并且参数支持多个标识符 (原来设置一个`selector`, 参数只能包含一个标识符) - 增加`LEEThemeHelper.h`文件 优化文件结构 - 其他小细节完善
增加一些容错处理 防止因某些对象nil可能造成的崩溃
6 years ago
修复添加主题的资源路径问题
6 years ago
该问题会导致新添加的主题配置 在下一次运行时无法获取到沙盒中的资源
lixiang1994/AttributedString 3.4.1
基于Swift插值方式优雅的构建富文本, 支持点击长按事件, 支持不同类型过滤, 支持自定义视图等.
⭐️ 793
🕓 2 days ago
🔖 Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
添加隐私清单
2 days ago
添加隐私清单
1 week ago
修复点击事件崩溃
1 year ago
暂时修复 Xcode 14.0 iOS12 Release Mode Crash 疑似苹果编译器漏洞
1 year ago
优化别名 防止冲突
1 year ago
移除wacth demo
开放Attachment属性
1 year ago
优化内部Action执行流程
1 year ago
疫情早日结束吧! 😷
1 year ago
**ASAttributedString.Attribute** add: ```swift // currency public static func custom(_ value: [NSAttributedString.Key: Any]) // macOS public static func cursor(_ value: NSCursor) public static func markedClauseSegment(_ value: Int) public static func spellingState(_ value: SpellingState) public static func superscript(_ value: Int) public static func textAlternatives(_ value: NSTextAlternatives) public static func toolTip(_ value: String) ``` **ASAttributedString.Attribute.ParagraphStyle** add: ```swift @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOSApplicationExtension 8.0, *) public static func usesDefaultHyphenation(_ value: Bool) public static func lineBreakStrategy(_ value: NSParagraphStyle.LineBreakStrategy) ```
添加AsyncImageAttachment特性支持
1 year ago
#### Attachment Async Image: (Only supports iOS: UITextView) ```swift // ASAttributedString.AsyncImageAttachment textView.attributed.text = """ \(.image(url, placeholder: xxxxx)) """ ``` Custom loader: ```swift ASAttributedString.AsyncImageAttachment.Loader = AsyncImageAttachmentKingfisherLoader.self ``` Please read the demo `AttachmentViewController.swift` file for details.
补充属性设置方式
1 year ago
``` var string = ASAttributedString("XXX") string.add(attributes: [.foreground(.red)], range: .init(location: 0, length: string.length)) string.set(attributes: [.foreground(.red)], range: .init(location: 0, length: string.length)) label.attributed.text = string ``` equal ``` label.attributed.text = ASAttributedString("XXX").add(attributes: .foreground(.red)).set(attributes: .foreground(.red)) ```
iOS macOS watchOS tvOS
lixiang1994/AutoInch 2.5.1
优雅的iPhone全尺寸/等比例精准适配工具
⭐️ 461
🕓 2 days ago
🔖 Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
添加隐私清单
2 days ago
添加隐私清单
1 week ago
修复plus机型判断问题
2 years ago
适配13系列
2 years ago
支持SPM
2 years ago
系统缩放模式
2 years ago
Screen增加缩放模式处理, 优化缩放模式判断准确性, 设置条件增加缩放模式值.
优化精准适配API
3 years ago
## API Change: #### old: ``` "default" .i35("3.5 inches (iPhone 4, 4s)") .i40("4.0 inches (iPhone 5, 5s, SE)") .i47("4.7 inches (iPhone 6, 7, 8)") .i55("5.5 inches (iPhone 6, 7, 8 Plus)") .ifull("full screen (iPhone X, Xs, XsMax)") .i58full("5.8 inches (iPhone X, Xs)") .i61full("6.1 inches (iPhone XR)") .i65full("6.5 inches (iPhone XsMax)") ``` #### new: ``` "default".screen .width(._320, is: "width 320") .width(._375, is: "width 375") .height(._844, is: "height 844") .height(._812, is: "height 812") .inch(._4_7, is: "4.7 inches") .inch(._5_8, is: "5.8 inches") .inch(._6_5, is: "6.5 inches") .level(.compact, is: "screen 3: 2") .level(.regular, is: "screen 16: 9") .level(.full, is: "screen 19.5: 9") .value ```
iOS 9.0 起
3 years ago
重构精准适配方式 增加更多纬度匹配条件
3 years ago
## API Change: #### old: ``` "default" .i35("3.5 inches (iPhone 4, 4s)") .i40("4.0 inches (iPhone 5, 5s, SE)") .i47("4.7 inches (iPhone 6, 7, 8)") .i55("5.5 inches (iPhone 6, 7, 8 Plus)") .ifull("full screen (iPhone X, Xs, XsMax)") .i58full("5.8 inches (iPhone X, Xs)") .i61full("6.1 inches (iPhone XR)") .i65full("6.5 inches (iPhone XsMax)") ``` #### new: ``` "default".screen .set("width 320", for: .width(._320)) .set("width 375", for: .width(._375)) .set("height 844", for: .height(._844)) .set("height 812", for: .height(._812)) .set("4.7 inches", for: .inch(._4_7)) .set("5.8 inches", for: .inch(._5_8)) .set("6.5 inches", for: .inch(._6_5)) .set("screen 3: 2", for: .level(.compact)) .set("screen 16: 9", for: .level(.regular)) .set("screen 19.5: 9", for: .level(.full)) .value ```
调整auto默认计算逻辑 增加像素对齐处理
3 years ago
iOS
lixiang1994/UIAdapter 1.3.1
An elegant solution to the iOS screen adaptation problem
⭐️ 49
🕓 2 days ago
🔖 Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
添加隐私清单
2 days ago
添加隐私清单
1 week ago
公开UIAdapterZoomCalculationable
1 year ago
增加iPhone 14 Pro 和 Max的适配
1 year ago
修复plus机型判断问题
2 years ago
初始
2 years ago
iOS
lixiang1994/NavigationInteractivePop 1.0.0
更好的控制导航控制器侧滑返回手势的状态
⭐️ 0
🕓 2 years ago
🔖 Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
init
2 years ago
iOS

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics