Swift TYAttributedLabel简单强大的属性文本控件

想要在 iOS 应用中搞定复杂的属性文本,TYAttributedLabel是个不错的选择。它不需要你去深究 CoreText,就能快速实现格式化文本展示。图文混排、超链接、甚至嵌入 UIView 控件,都可以轻松实现,使用起来简单。比起系统的 UILabel,它的功能更强大,灵活性也高得多。比如,你可以在文本中插入图片、设置链接,甚至实现点击事件回调,挺适合做通知、富文本编辑器这样的需求。TYAttributedLabel 还考虑到了性能优化,保证在大数据量时的流畅展示。如果你正好需要实现这些功能,不妨试试。TYAttributedLabel 的开源项目代码也友好,直接拿来用就行,省去不少开发时间。

如果你是刚接触属性文本开发的新人,TYAttributedLabel 能帮你避开多底层的坑,让你业务逻辑的实现。而且,操作简单、接口直观,就算是复杂的图文混排和动态控件嵌入也能轻松搞定。

如果你有用到图文混排、富文本显示、或者交互设计的需求,TYAttributedLabel 绝对是一个不容错过的工具。

zip
swift-TYAttributedLabel简单强大的属性文本控件(无需了解CoreText).zip 预估大小:99个文件
folder
TYAttributedLabel-master 文件夹
folder
TYAttributedLabelDemo 文件夹
file
UIScrollView+TPKeyboardAvoidingAdditions.h 839B
file
TYTextStorageParser.h 393B
file
ImageTextViewController.h 242B
file
AddViewTextViewController.m 4KB
file
UpdateLabelViewController.h 245B
file
TPKeyboardAvoidingScrollView.m 3KB
file
ViewController.m 5KB
file
AttributedTextViewController.h 252B
file
AttributedLabelCell.m 1KB
file
ImageTextViewController.m 8KB
file
Info.plist 2KB
file
LinkTextViewController.h 240B
file
RegexKitLite.m 201KB
file
AutoLayoutTableViewController.m 6KB
file
main.m 344B
file
AutoLayoutAttributedLabelCell.m 2KB
file
content.json 1KB
file
ParseTextViewController.m 3KB
file
TextContainerViewController.m 10KB
file
UIScrollView+TPKeyboardAvoidingAdditions.m 13KB
file
TExamTextField.h 429B
file
TextContainerViewController.h 249B
file
TYTextStorageParser.m 4KB
file
LabelXibViewController.m 2KB
file
LabelXibViewController.h 239B
file
AutoLayoutTableViewController.h 262B
folder
Base.lproj 文件夹
file
Main.storyboard 3KB
file
LaunchScreen.xib 4KB
file
AttributedLabelCell.h 327B
folder
Images.xcassets 文件夹
folder
icon_zt_cuo.imageset 文件夹
file
icon_zt_cuo@2x.png 2KB
file
icon_zt_cuo@3x.png 2KB
file
Contents.json 352B
folder
icon_zt_dui.imageset 文件夹
file
icon_zt_dui@2x.png 1KB
file
icon_zt_dui@3x.png 2KB
file
Contents.json 352B
folder
AppIcon.appiconset 文件夹
file
Contents.json 1KB
file
Contents.json 62B
file
haha.png 2KB
file
ParseTextViewController.h 244B
file
AutoLayoutLinkImageTextViewController.m 5KB
file
SimpleTextViewController.m 6KB
file
RegexKitLite.h 16KB
file
LabelXibViewController.xib 4KB
file
UpdateLabelViewController.m 4KB
file
TextTableViewController.m 6KB
file
ViewController.h 225B
file
AppDelegate.h 287B
file
SimpleTextViewController.h 244B
file
avatar.png 15KB
file
LinkTextViewController.m 6KB
file
AddViewTextViewController.h 246B
folder
TYAttributedLabel 文件夹
file
TYImageStorage.h 911B
file
NSMutableAttributedString+TY.h 2KB
file
TYTextContainer.h 8KB
file
TYViewStorage.m 1KB
file
TYViewStorage.h 314B
file
NSMutableAttributedString+TY.m 6KB
file
TYImageCache.h 1KB
file
TYTextContainer.m 23KB
file
TYImageStorage.m 3KB
file
TYImageCache.m 9KB
file
TYTextContainer+Extended.m 6KB
file
TYAttributedLabel.m 31KB
file
TYLinkTextStorage.h 611B
file
TYTextStorageProtocol.h 2KB
file
TYTextStorage.m 1KB
file
TYDrawStorage.h 1KB
file
TYLinkTextStorage.m 754B
file
TYAttributedLabel.h 9KB
file
TYTextStorage.h 1KB
file
TYDrawStorage.m 6KB
file
AutoLayoutLinkImageTextViewController.h 273B
file
TPKeyboardAvoidingScrollView.h 434B
file
TextTableViewController.h 245B
file
CYLoLi.png 320KB
file
AutoLayoutAttributedLabelCell.h 351B
file
AttributedTextViewController.m 5KB
file
AppDelegate.m 2KB
file
TExamTextField.m 2KB
folder
TYAttributedLabelDemoTests 文件夹
file
Info.plist 750B
file
TYAttributedLabelDemoTests.m 911B
file
LICENSE 1KB
file
README.md 8KB
folder
TYAttributedLabelDemo.xcodeproj 文件夹
folder
project.xcworkspace 文件夹
folder
xcshareddata 文件夹
file
TYAttributedLabelDemo.xccheckout 1KB
file
contents.xcworkspacedata 166B
folder
xcuserdata 文件夹
folder
tanyang.xcuserdatad 文件夹
file
WorkspaceSettings.xcsettings 332B
folder
233wangxiao.xcuserdatad 文件夹
file
WorkspaceSettings.xcsettings 332B
folder
xcuserdata 文件夹
folder
tanyang.xcuserdatad 文件夹
folder
xcdebugger 文件夹
file
Breakpoints_v2.xcbkptlist 91B
folder
xcschemes 文件夹
file
TYAttributedLabelDemo.xcscheme 4KB
file
xcschememanagement.plist 583B
folder
233wangxiao.xcuserdatad 文件夹
folder
xcdebugger 文件夹
file
Breakpoints_v2.xcbkptlist 91B
folder
xcschemes 文件夹
file
TYAttributedLabelDemo.xcscheme 4KB
file
xcschememanagement.plist 583B
file
project.pbxproj 36KB
file
TYAttributedLabel.podspec 938B
file
.gitignore 47B
folder
screenshot 文件夹
file
weibo.gif 930KB
file
DoExam.gif 2.13MB
file
TYAtrributedLabelDemo.gif 1.29MB
...
zip 文件大小:4.79MB