iOS 同一段文字显示不同颜色 NSMutableAttributedString *str = [[NSMutableAttributedString alloc] initWithString:testStr]; Pinapps 2018-01-30 17:00:27
iOS 检测文本中的 URL、电话号码等信息 iOS 检测文本中的 URL、电话号码等信息 要检测文本中的 URL、电话号码等,除了用正则表达式,还可以用 NSDataDetector。NSTextCheckingResult 的检测结果属性与类型有关。 BAT 批处理程序 2017-04-08 18:52:11
Swift NSAttributedString的使用 NSMutableAttributedString let testAttributes = [NSAttributedStringKey.foregroundColor: UIColor.blue, NSAttributedStringK MATLAB 2018-05-30 16:34:13
FastTextView 富文本编辑器,支持在文字中插入视图,文字输入性能极高。主要性能如下: 1)插入文本速度很快,特别是针对大量文字的输入。2)可以插入图片。 2013-09-02 02:40:26