TextBundle 文件读写框架
TextBundleWrapper 是一个用于读写 TextBundle 文件的轻量级框架,不依赖于其他库。
安装
从源代码安装
下载 TextBundleWrapper 项目,并将 TextBundleWrapper.{h,m} 文件拖动到您的 Xcode 项目中。
使用 Carthage 安装
将以下内容添加到您的 Cartfile 中:
github "shinyfrog/TextBundle"
将 TextBundle.xcodeproj 拖动到项目中,然后在目标设置的 “General” 选项卡中的 “Embedded Binaries” 中添加 TextBundle.framework。
使用
将 TextBundle 作为框架使用时,请在您的 Swift 文件中添加以下代码:
import TextBundle
或者在 Objective-C 文件中添加以下代码:
#import
443.14KB
文件大小:
评论区