YYText
==============
[![License MIT](https://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://raw.githubusercontent.com/ibireme/YYText/master/LICENSE)
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
[![CocoaPods](http://img.shields.io/cocoapods/v/YYText.svg?style=flat)](http://cocoapods.org/?q= YYText)
[![CocoaPods](http://img.shields.io/cocoapods/p/YYText.svg?style=flat)](http://cocoapods.org/?q= YYText)
[![Support](https://img.shields.io/badge/support-iOS%206%2B%20-blue.svg?style=flat)](https://www.apple.com/nl/ios/)
[![Build Status](https://travis-ci.org/ibireme/YYText.svg?branch=master)](https://travis-ci.org/ibireme/YYText)
Powerful text framework for iOS to display and edit rich text.<br/>
(It's a component of [YYKit](https://github.com/ibireme/YYKit))
Features
==============
- UILabel and UITextView API compatible
- High performance asynchronous text layout and rendering
- Extended CoreText attributes with more text effects
- Text attachments with UIImage, UIView and CALayer
- Custom highlight text range to allow user interact with
- Text parser support (built in markdown/emoticon parser)
- Text container path and exclusion paths support
- Vertical form layout support (for CJK text)
- Image and attributed text copy/paste support
- Attributed text placeholder support
- Custom keyboard view support
- Undo and redo control
- Attributed text archiver and unarchiver support
- Multi-language and VoiceOver support
- Interface Builder support
- Fully documented
Architecture
==============
YYText vs TextKit
<img src="https://raw.github.com/ibireme/YYText/master/Attributes/architecture.png" width="400">
Text Attributes
==============
### YYText supported attributes
<table>
<thead>
<tr>
<th>Demo</th>
<th>Attribute Name</th>
<th>Class</th>
</tr>
</thead>
<tbody>
<tr>
<td><img src="https://raw.github.com/ibireme/YYText/master/Attributes/YYText Extended/YYTextAttachment.gif" width="200"></td>
<td>TextAttachment</td>
<td>YYTextAttachment</td>
</tr>
<tr>
<td><img src="https://raw.github.com/ibireme/YYText/master/Attributes/YYText Extended/YYTextHighlight.gif" width="200"></td>
<td>TextHighlight</td>
<td>YYTextHighlight</td>
</tr>
<tr>
<td><img src="https://raw.github.com/ibireme/YYText/master/Attributes/YYText Extended/YYTextBinding.gif" width="200"></td>
<td>TextBinding</td>
<td>YYTextBinding</td>
</tr>
<tr>
<td><img src="https://raw.github.com/ibireme/YYText/master/Attributes/YYText Extended/YYTextShadow.png" width="200"></td>
<td>TextShadow<br/>TextInnerShadow</td>
<td>YYTextShadow</td>
</tr>
<tr>
<td><img src="https://raw.github.com/ibireme/YYText/master/Attributes/YYText Extended/YYTextBorder.png" width="200"></td>
<td>TextBorder</td>
<td>YYTextBorder</td>
</tr>
<tr>
<td><img src="https://raw.github.com/ibireme/YYText/master/Attributes/YYText Extended/YYTextBackgroundBorder.png" width="200"></td>
<td>TextBackgroundBorder</td>
<td>YYTextBorder</td>
</tr>
<tr>
<td><img src="https://raw.github.com/ibireme/YYText/master/Attributes/YYText Extended/YYTextBlockBorder.png" width="200"></td>
<td>TextBlockBorder</td>
<td>YYTextBorder</td>
</tr>
<tr>
<td><img src="https://raw.github.com/ibireme/YYText/master/Attributes/CoreText and TextKit/Obliqueness.png" width="200"></td>
<td>TextGlyphTransform</td>
<td> NSValue(CGAffineTransform)</td>
</tr>
<tr>
<td><img src="https://raw.github.com/ibireme/YYText/master/Attributes/CoreText and TextKit/Underline.png" width="200"></td>
<td>TextUnderline</td>
<td>YYTextDecoration</td>
</tr>
<tr>
<td><img src="https://raw.github.com/ibireme/YYText/master/Attributes/CoreText and TextKit/Strikethrough.png" width="200"></td>
<td>TextStrickthrough</td>
<td>YYTextDecoration</td>
</tr>
<tr>
<td><img src="https://raw.github.com/ibireme/YYText/master/Attributes/YYText Extended/YYTextBackedString.png" width="200"></td>
<td>TextBackedString</td>
<td>YYTextBackedString</td>
</tr>
</tbody>
</table>
###CoreText attributes which is supported by YYText
<table>
<thead>
<tr>
<th>Demo</th>
<th>Attribute Name</th>
<th>Class</th>
</tr>
</thead>
<tbody>
<tr>
<td><img src="https://raw.github.com/ibireme/YYText/master/Attributes/CoreText and TextKit/Font.png" width="200"></td>
<td> Font </td>
<td>UIFont(CTFontRef)</td>
</tr>
<tr>
<td><img src="https://raw.github.com/ibireme/YYText/master/Attributes/CoreText and TextKit/Kern.png" width="200"></td>
<td> Kern </td>
<td>NSNumber</td>
</tr>
<tr>
<td><img src="https://raw.github.com/ibireme/YYText/master/Attributes/CoreText and TextKit/Stroke.png" width="200"></td>
<td> StrokeWidth </td>
<td> NSNumber </td>
</tr>
<tr>
<td><img src="https://raw.github.com/ibireme/YYText/master/Attributes/CoreText and TextKit/StrokeColor.png" width="200"></td>
<td> StrokeColor </td>
<td> CGColorRef </td>
</tr>
<tr>
<td><img src="https://raw.github.com/ibireme/YYText/master/Attributes/CoreText and TextKit/Shadow.png" width="200"></td>
<td> Shadow </td>
<td> NSShadow </td>
</tr>
<tr>
<td><img src="https://raw.github.com/ibireme/YYText/master/Attributes/CoreText and TextKit/Ligature.png" width="200"></td>
<td> Ligature </td>
<td> NSNumber </td>
</tr>
<tr>
<td><img src="https://raw.github.com/ibireme/YYText/master/Attributes/CoreText and TextKit/VerticalForms.png" width="200"></td>
<td> VerticalGlyphForm </td>
<td> NSNumber(BOOL) </td>
</tr>
<tr>
<td><img src="https://raw.github.com/ibireme/YYText/master/Attributes/CoreText and TextKit/WriteDirection.png" width="200"></td>
<td> WritingDirection </td>
<td> NSArray(NSNumber) </td>
</tr>
<tr>
<td><img src="https://raw.github.com/ibireme/YYText/master/Attributes/CoreText and TextKit/RunDelegate.png" width="200"></td>
<td> RunDelegate </td>
<td> CTRunDelegateRef </td>
</tr>
<tr>
<td><img src="https://raw.github.com/ibireme/YYText/master/Attributes/CoreText and TextKit/Paragraph/Alignment.png" width="200"></td>
<td> TextAlignment </td>
<td> NSParagraphStyle <br/>(NSTextAlignment) </td>
</tr>
<tr>
<td><img src="https://raw.github.com/ibireme/YYText/master/Attributes/CoreText and TextKit/Paragraph/LineBreakMode.png" width="200"></td>
<td> LineBreakMode </td>
<td> NSParagraphStyle <br/>(NSLineBreakMode) </td>
</tr>
<tr>
<td><img src="https://raw.github.com/ibireme/YYText/master/Attributes/CoreText and TextKit/Paragraph/LineSpacing.png" width="200"></td>
<td> LineSpacing </td>
<td> NSParagraphStyle <br/>(CGFloat) </td>
</tr>
<tr>
<td><img src="https://raw.github.com/ibireme/YYText/master/Attributes/CoreText and TextKit/Paragraph/ParagraphSpacing.png" width="200"></td>
<td> ParagraphSpacing <br/> ParagraphSpacingBefore </td>
<td> NSParagraphStyle <br/>(CGFloat) </td>
</tr>
<tr>
<td><img src="https://raw.github.com/ibireme/YYText/master/Attributes/CoreText and TextKit/Paragraph/FirstLineHeadIndent.png" width="200"></td>
<td> FirstLineHeadIndent </td>
<td> NSParagraphStyle <br/>(CGFloat) </td>
</tr>
<tr>
<td><img src="https://raw.github.com/ibireme/YYText/master/Attributes/CoreText and TextKit/Paragraph/HeadIndent.png" width="200"></td>
<td> HeadIndent </td>
<td> NSParagraphStyle <br/>(CGFloat) </td>
</tr>
<tr>
<td><img src="https://raw.github.com/ibireme/YYText/master/Attributes/CoreText and TextKit/Paragraph/T
没有合适的资源?快使用搜索试试~ 我知道了~
一个电商项目-ErYiKuaiPin.zip
共2000个文件
h:874个
m:497个
svn-base:400个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 32 浏览量
2024-01-30
21:28:53
上传
评论
收藏 178.69MB ZIP 举报
温馨提示
一个电商项目-ErYiKuaiPin
资源推荐
资源详情
资源评论
收起资源包目录
一个电商项目-ErYiKuaiPin.zip (2000个子文件)
fishhook.c 8KB
NSAttributedString+YYText.h 58KB
FMDatabase.h 45KB
AFURLSessionManager.h 29KB
TencentOAuth.h 23KB
WXApiObject.h 22KB
AFURLRequestSerialization.h 22KB
WeiboSDK.h 21KB
YYTextLayout.h 21KB
QQApiInterfaceObject.h 20KB
WBHttpRequest+WeiboUser.h 20KB
AFHTTPSessionManager.h 19KB
YYTextUtilities.h 18KB
YYTextView.h 17KB
MBProgressHUD.h 16KB
YYTextAttribute.h 15KB
KPNetworkingTool.h 15KB
YYLabel.h 14KB
TencentOAuthObject.h 14KB
UMSocialDataService.h 14KB
UIButton+WebCache.h 13KB
UMSocialSnsData.h 13KB
PingFoundation.h 12KB
MobClick.h 12KB
FMResultSet.h 12KB
AFURLResponseSerialization.h 12KB
JPUSHService.h 11KB
sdkdef.h 11KB
UMSocialConfig.h 11KB
SDWebImageManager.h 11KB
NSObject+MJKeyValue.h 10KB
UIImageView+WebCache.h 10KB
UIButton+AFNetworking.h 10KB
TencentMessageObject.h 9KB
SVProgressHUD.h 9KB
AFImageDownloader.h 9KB
SDImageCache.h 9KB
AFNetworkReachabilityManager.h 8KB
FMDatabaseAdditions.h 7KB
MASConstraint.h 7KB
UMSocialSnsPlatformManager.h 7KB
WBHttpRequest+WeiboGame.h 7KB
SDWebImageDownloader.h 7KB
UMSocialControllerService.h 6KB
MASUtilities.h 6KB
UMSocialAccountManager.h 6KB
FMDatabaseQueue.h 6KB
UIImageView+AFNetworking.h 6KB
SDCycleScrollView.h 6KB
AFSecurityPolicy.h 6KB
AFAutoPurgingImageCache.h 6KB
WBHttpRequest.h 6KB
MASConstraintMaker.h 5KB
WXApi.h 5KB
AFNetworkActivityIndicatorManager.h 5KB
AutoCoding.h 5KB
UIImageView+HighlightedWebCache.h 5KB
MobClickGameAnalytics.h 5KB
FMDatabasePool.h 5KB
AlipaySDK.h 5KB
UIWebView+AFNetworking.h 4KB
SDWebImageDownloaderOperation.h 4KB
UMSocialBar.h 4KB
MobClickSocialAnalytics.h 4KB
MJRefreshComponent.h 4KB
View+MASAdditions.h 4KB
UMSocialSnsService.h 4KB
WBHttpRequest+WeiboShare.h 4KB
SDWebImagePrefetcher.h 4KB
WeiboUser.h 4KB
UMSocialData.h 4KB
View+MASShorthandAdditions.h 4KB
RealReachability.h 3KB
KPStatisticsTool.h 3KB
NSObject+MJProperty.h 3KB
YYTextDebugOption.h 3KB
YYTextLine.h 3KB
WeiboSDK+Statistics.h 3KB
YYTextKeyboardManager.h 3KB
YYTextParser.h 3KB
FBRetainCycleDetector.h 3KB
YYTextInput.h 3KB
NSObject+MJClass.h 3KB
fishhook.h 3KB
KPPayManager.h 3KB
UINavigationController+FDFullscreenPopGesture.h 3KB
NSArray+MASAdditions.h 3KB
UIView+YYText.h 3KB
QQApiInterface.h 2KB
YYTextSelectionView.h 2KB
FBObjectGraphConfiguration.h 2KB
MJRefreshConst.h 2KB
UIProgressView+AFNetworking.h 2KB
YYTextAsyncLayer.h 2KB
YYTextRubyAnnotation.h 2KB
FBObjectiveCGraphElement.h 2KB
TencentApiInterface.h 2KB
MJExtensionConst.h 2KB
YYTextMagnifier.h 2KB
UIRefreshControl+AFNetworking.h 2KB
共 2000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
资源评论
武昌库里写JAVA
- 粉丝: 3805
- 资源: 2933
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功