没有合适的资源?快使用搜索试试~ 我知道了~
TTTAttributedLabel:替换支持属性、数据检测器等的 UILabel。-开源
共66个文件
png:28个
m:8个
h:6个
需积分: 12 0 下载量 75 浏览量
2021-07-20
19:47:04
上传
评论
收藏 455KB ZIP 举报
温馨提示
UILabel 的替代品,支持属性、数据检测器、链接等。 TTTAttributedLabel 提供了一种以高效方式呈现属性字符串的简单方法。 作为奖励,它还支持链接嵌入,通过 NSTextCheckingTypes 自动和手动指定 URL、地址、电话号码、事件或传输信息的范围。 它还包括高级段落样式属性。 从版本 1.10.0 开始,TTTAttributedLabel 通过 UIAccessibilityElement 协议支持 VoiceOver。 每个链接都可以单独选择,accessibilityLabel 等于其字符串值,以及 URL、电话号码和日期链接的相应 accessibilityValue。 希望更改此行为或提供自定义值的开发人员应创建子类并覆盖可访问性元素。 TTTAttributedLabel 可以显示纯文本和属性文本:只需将 NSString 或 NSAttributedString 传递给 setText: setter。
资源推荐
资源详情
资源评论
收起资源包目录
2.0.0.zip (66个子文件)
TTTAttributedLabel-TTTAttributedLabel-fe0d562
Carthage
TTTAttributedLabel.xcodeproj
project.pbxproj 14KB
xcshareddata
xcschemes
TTTAttributedLabel.xcscheme 4KB
TTTAttributedLabel tvOS.xcscheme 3KB
TTTAttributedLabel
Info.plist 823B
Example
AttributedTableViewCell.m 9KB
main.m 2KB
Prefix.pch 226B
AppTestDelegate.h 286B
AppTestDelegate.m 542B
DetailViewController.h 1KB
AppDelegate.h 1KB
AppDelegate.m 2KB
espressos.txt 2KB
Podfile 363B
RootViewController.h 1KB
Espressos.xcodeproj
project.xcworkspace
contents.xcworkspacedata 154B
project.pbxproj 31KB
xcshareddata
xcschemes
Espressos.xcscheme 5KB
xcbaselines
E9B3C6E61A32C2DB00D43DF9.xcbaseline
5A4B9C04-32F6-4123-81BE-C1544E3FE538.plist 566B
A1FF6194-5E0B-4EFD-8CD7-87C1C919C0A3.plist 576B
Info.plist 2KB
DetailViewController.m 8KB
AttributedTableViewCell.h 1KB
Podfile.lock 654B
Espressos
Images.xcassets
AppIcon.appiconset
Contents.json 669B
LaunchImage.launchimage
Contents.json 1KB
Default-667h@2x.png 15KB
Default-568h@2x.png 18KB
TTTAttributedLabelTests
ReferenceImages_64
TTTAttributedLabelTests
testAdjustsFontSizeToFitWidth@2x.png 3KB
testAttributedTruncationToken@2x.png 8KB
testNumberOfLines@2x.png 10KB
testSizeToFitWithTruncationToken@2x.png 4KB
testAttributedTruncationTokenLinksUnderline@2x.png 9KB
testRightAlignedSimpleText@2x.png 4KB
testLabelTruncationVaryingWidthSizing@2x.png 126KB
testOversizedAttributedFontSize@2x.png 7KB
testCenteredMultilineAttributedString@2x.png 18KB
testRightAlignedTextSizeSmallerThanLabel@2x.png 19KB
testTrailingMultilineWhitespace@2x.png 3KB
testAttributedTruncationTokenLinks@2x.png 9KB
testMultipleLineLinkBackgroundLabelView@2x.png 15KB
testLabelShadowRadius@2x.png 41KB
testCenteredTextSizeSmallerThanLabel@2x.png 20KB
testAttributedTruncationTokenLinksUnderlineColor@2x.png 9KB
testLabelTextInsets@2x.png 14KB
testCenterAlignedSimpleText@2x.png 4KB
testLinkBackgroundLabelView@2x.png 14KB
testRightAlignedMultilineAttributedString@2x.png 18KB
testLinkAttributeLabelView@2x.png 13KB
testHighlightedLabel@2x.png 5KB
testLinkifiedLabelView@2x.png 13KB
testMultilineLabelView@2x.png 13KB
testVerticalAlignment@2x.png 14KB
testComplexAttributedString@2x.png 15KB
TTTAttributedLabelTests.m 44KB
Info.plist 733B
Info.plist 995B
RootViewController.m 5KB
LICENSE 1KB
CONTRIBUTING.md 1KB
TTTAttributedLabel.podspec 760B
.gitignore 257B
circle.yml 786B
README.md 8KB
TTTAttributedLabel
TTTAttributedLabel.h 29KB
TTTAttributedLabel.m 82KB
共 66 条
- 1
资源评论
giao金
- 粉丝: 31
- 资源: 4604
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功