要运行示例项目,请克隆仓库,并首先从 Example 目录运行 pod install
。
HLSignalView 通过 CocoaPods 提供。要安装它,只需将以下行添加到您的 Podfile 中:
pod "HLSignalView"
将以下内容添加到 Podfile 的底部:
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '2.3' # or '3.0'
end
end
end
UIView
添加到 Storyboard 的任何视图控制器中Identity Inspector
:自定义类Attributes Inspector
import HLSignalView
Herman Liang,[email protected]
HLSignalView 在 MIT 许可下可用。有关更多信息,请参阅 LICENSE 文件。