没有合适的资源?快使用搜索试试~ 我知道了~
NTAttributedStringBuilder:一个快速,灵活且易于使用的系统,用于构建属性字符串,而无需借助嵌入式HTML
共27个文件
m:7个
h:6个
plist:2个
需积分: 9 0 下载量 172 浏览量
2021-04-27
14:44:49
上传
评论
收藏 35KB ZIP 举报
温馨提示
NTAttributedStringBuilder 一个快速,灵活且易于使用的系统,可用于构建属性字符串,而无需借助嵌入式HTML。 NSMutableAttributedString对于构建属性字符串非常繁琐且容易出错。 最常见的方法是通过解析某种html或markdown来创建AttributedStrings。 尽管这种方法可行,但它们会将命令嵌入字符串中,因此您最终需要反复运行应用程序以查看语法是否正确。 此外,创建字符串时,您不会从Xcode的自动竞争中获得任何帮助。 NTAttributedStringbuilder采用不同的方法。 它维护当前属性的字典,该属性在添加文本时将应用于文本。 通过以有趣的方式更改属性,可以构建非常复杂的属性字符串。 这里包括一些示例。 类有充分的文档记录,并且“启用了快速帮助”。 使用NTAttributedStringBuilder属性
资源推荐
资源详情
资源评论
收起资源包目录
NTAttributedStringBuilder-master.zip (27个子文件)
NTAttributedStringBuilder-master
NTAttributedStringBuilder.m 14KB
NTAttributedStringBuilder.h 12KB
NTAttr.m 3KB
NTAttributedStringBuilderCategories.m 877B
NTAttributedStringBuilder.podspec 613B
NTAttr.h 15KB
LICENSE 1KB
NTAttributedStringBuilderElement.h 328B
NTAttributedStringBuilderSample
NTAttributedStringBuilderSampleTests
NTAttributedStringBuilderSampleTests-Info.plist 693B
NTAttributedStringBuilderSampleTests.m 730B
en.lproj
InfoPlist.strings 45B
NTAttributedStringBuilderSample
main.m 359B
AppDelegate.h 299B
NTAttributedStringBuilderSample-Info.plist 1KB
AppDelegate.m 2KB
ViewControllers
MainViewController.h 258B
MainViewController.xib 2KB
MainViewController.m 8KB
NTAttributedStringBuilderSample-Prefix.pch 383B
Images.xcassets
AppIcon.appiconset
Contents.json 333B
LaunchImage.launchimage
Contents.json 442B
en.lproj
InfoPlist.strings 45B
NTAttributedStringBuilderSample.xcodeproj
project.xcworkspace
contents.xcworkspacedata 176B
project.pbxproj 25KB
.gitignore 237B
README.md 4KB
NTAttributedStringBuilderCategories.h 551B
共 27 条
- 1
资源评论
蓝星神
- 粉丝: 24
- 资源: 4714
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功