Offenbach
功能
-
ℹ️ 添加奥芬巴赫功能
示例
示例应用程序是查看Offenbach
功能的最直接方法。只需打开Offenbach.xcodeproj
并运行Example
方案即可。
安装
CocoaPods
Offenbach 可通过 CocoaPods 获取。要安装它,只需在 Podfile 中添加以下行:
pod 'Offenbach'
Carthage
Carthage 是一个去中心化的依赖管理器,它会为您构建依赖并提供二进制框架。
要使用 Carthage 将 Offenbach 集成到您的 Xcode 项目中,请在您的 Cartfile
中指定它
github "Move Upwards/Offenbach"
运行 carthage update
命令来构建框架,并将构建好的 Offenbach.framework
拖拽到您的 Xcode 项目中。
在您的应用目标的“构建阶段”设置选项卡中,点击“+”图标,选择“新建运行脚本阶段”,然后按照在 Carthage 入门步骤 4、5 和 6 中提到的路径添加框架路径。
Swift 包管理器
要使用 Apple 的 Swift 包管理器 集成,请将以下内容作为依赖项添加到您的 Package.swift
文件中:
dependencies: [
.package(url: "https://github.com/MoveUpwards/Offenbach.git", from: "1.0.0")
]
手动操作
如果您不希望使用上述任何依赖管理器,您可以手动将Offenbach集成到您的项目中。只需将源码
文件夹拖放到您的Xcode项目中。
使用说明
贡献
非常欢迎贡献
许可协议
Offenbach
Copyright (c) 2019 Move Upwards [email protected]
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.