AttributedString icon indicating copy to clipboard operation
AttributedString copied to clipboard

基于Swift插值方式优雅的构建富文本, 支持点击长按事件, 支持不同类型过滤, 支持自定义视图等.

Results 19 AttributedString issues
Sort by recently updated
recently updated
newest added

在iOS11以下的系统,kvo的监听会崩溃,An instance 0x7f9395d49750 of class SXLabel was deallocated while key value observers were still registered with it. Current observation info: 使用了textView的attachment `attributed.text = .init("\(.view(customLabel, .original(.center))) \(string)", .paragraph(.lineSpacing(7)))`

-------- ## 完美解决此问题, 以`$100`美刀作为酬谢, 支持 微信支付, 支付宝支付, PayPal支付. - 解决上述问题, 确保自测无误. - 提交PR或直接联系本人交付相关代码. - 本人验证通过测试. - 2小时内根据以上支付方式支付酬谢金. - Release记录 以示感谢🙏 ------- ## 描述: 本库对于 `UILabel` 的点击事件实现方案是使用 `TextKit` 构建一个与 `UILabel` 显示一致的内容,...

help wanted
$100

在AttributedString.swift中第14行至第24行代码中 #if os(macOS) import AppKit public typealias Image = NSImage public typealias Color = NSColor public typealias Font = NSFont #else import UIKit public typealias Image = UIImage public typealias...

UITextView 如果设置了 isSelectable = false ,会导致文本无法滚动。作者是否存在这个问题?

Hi, How to create from HTML? Thanks.

**After Installing pod 'AttributedString'** Trying to declare "AttributedString" object in with project based Objective-C language. #import "MyProjectName-Swift.h" #import "AttributedString-Swift.h" Complier failed and not recognize "AttributedString" class: ![Screenshot 2023-05-29 at 14...

使用该方法public mutating func set(attributes: [Attribute], range: NSRange)设置字体颜色 在多个range的情况下只有最后一个生效

Bumps [activesupport](https://github.com/rails/rails) from 6.1.7.1 to 6.1.7.3. Release notes Sourced from activesupport's releases. v6.1.7.3 Active Support Implement SafeBuffer#bytesplice [CVE-2023-28120] Active Model No changes. Active Record No changes. Action View Ignore certain...

dependencies

![F8A7FD2329C9AAF4108E1B0453461B89](https://user-images.githubusercontent.com/13112992/208391887-8d0ced71-e16e-4c49-a8f3-f7fe965f236a.jpg) ![709425830A7476E3E1A6709C95F12DD0](https://user-images.githubusercontent.com/13112992/208391897-ef83df65-c203-4311-8b04-2550862ecf11.jpg)