FlexibleInputStackBar
可定制的输入辅助视图
功能
- FlexibleInputStackBar有两个UIStackView在左边和右边。
示例
示例应用是查看FlexibleInputStackBarDemo
的最佳方式。只需打开Demo.xcworkspace
。
安装
CocoaPods
FlexibleInputStackBar可通过CocoaPods获取。要安装它,只需将以下行添加到Podfile中
pod 'FlexibleInputStackBar'
Carthage
Carthage 是一个去中心化的依赖管理工具,它能构建你的依赖并提供二进制框架。
要使用 Carthage 将 FlexibleInputStackBar 集成到你的 Xcode 项目中,请在你的 Cartfile
中指定它。
github "kzumu/FlexibleInputStackBar"
运行 carthage update
命令以构建框架,然后将构建好的 FlexibleInputStackBar.framework
拖入你的 Xcode 项目。
在应用程序目标的“构建阶段”设置标签页上,点击“+”图标,选择“新运行脚本阶段”,并添加Carthage 入门步骤 4、5 和 6中提到的框架路径。
Swift 包管理器
要使用 Apple 的 Swift 包管理器进行集成,请在你的 Package.swift
中添加以下依赖项:
dependencies: [
.package(url: "https://github.com/kzumu/FlexibleInputStackBar.git", from: "0.0.2")
]
使用方法
建设中...
贡献
非常欢迎贡献
许可证
FlexibleInputStackBar
Copyright (c) 2019 Kazumasa Shimomura [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.