YYText使用SwiftPackageManager集成

使用方式:
1、集合引入

dependencies: [
    .package(url: "https://github.com/Gaozn/YYTextSPM.git", branch: "main")
]
.target(
    name: "MyLibrary",
    dependencies: [
       ...
       .product(name: "YYText", package: "YYTextSPM"),
    ]
 )

2、Package Dependencies引入

https://github.com/Gaozn/YYTextSPM.git

文件目录:

├── Package.swift
├── README.md
└── YYText
    ├── Component
    │   ├── YYTextContainerView.m
    │   ├── YYTextDebugOption.m
    │   ├── YYTextEffectWindow.m
    │   ├── YYTextInput.m
    │   ├── YYTextKeyboardManager.m
    │   ├── YYTextLayout.m
    │   ├── YYTextLine.m
    │   ├── YYTextMagnifier.m
    │   └── YYTextSelectionView.m
    ├── include
    │   ├── NSAttributedString+YYText.h
    │   ├── NSParagraphStyle+YYText.h
    │   ├── UIPasteboard+YYText.h
    │   ├── UIView+YYText.h
    │   ├── YYLabel.h
    │   ├── YYText.h
    │   ├── YYTextArchiver.h
    │   ├── YYTextAsyncLayer.h
    │   ├── YYTextAttribute.h
    │   ├── YYTextContainerView.h
    │   ├── YYTextDebugOption.h
    │   ├── YYTextEffectWindow.h
    │   ├── YYTextInput.h
    │   ├── YYTextKeyboardManager.h
    │   ├── YYTextLayout.h
    │   ├── YYTextLine.h
    │   ├── YYTextMagnifier.h
    │   ├── YYTextParser.h
    │   ├── YYTextRubyAnnotation.h
    │   ├── YYTextRunDelegate.h
    │   ├── YYTextSelectionView.h
    │   ├── YYTextTransaction.h
    │   ├── YYTextUtilities.h
    │   ├── YYTextView.h
    │   └── YYTextWeakProxy.h
    ├── String
    │   ├── YYTextArchiver.m
    │   ├── YYTextAttribute.m
    │   ├── YYTextParser.m
    │   ├── YYTextRubyAnnotation.m
    │   └── YYTextRunDelegate.m
    ├── Utility
    │   ├── NSAttributedString+YYText.m
    │   ├── NSParagraphStyle+YYText.m
    │   ├── UIPasteboard+YYText.m
    │   ├── UIView+YYText.m
    │   ├── YYTextAsyncLayer.m
    │   ├── YYTextTransaction.m
    │   ├── YYTextUtilities.m
    │   └── YYTextWeakProxy.m
    ├── YYLabel.m
    └── YYTextView.m
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容