简体   繁体   English

Swift 中的 CircularSpinner 版本 Xcode 11.4 中的 4 或 5

[英]CircularSpinner Version in Swift 4 or 5 in Xcode 11.4

Did someone used CircularSpinner for iOS?I used Circular Spinner in Xcode 10.1 with Swift 3 version is oK.有人在 iOS 中使用了 CircularSpinner 吗?我在 Xcode 10.1 中使用了 Circular Spinner,Swift 3 版本还可以。

I am facing issued after installing Pod, pod 'CircularSpinner' Error is我在安装 Pod 后面临问题,pod 'CircularSpinner' 错误是错误 Pod 文件是 Installed version is安装的版本是

在此处输入图像描述

Does I need to add version to fixed this Pod issues?我是否需要添加版本来修复此 Pod 问题?

Seems the Swift version hasn't been updated for this pod, try installing the Objective-C version and use Bridging Headers that to access it in Swift似乎 Swift 版本尚未为此 pod 更新,尝试安装 Objective-C 版本并使用桥接头在 Swift 中访问它

pod 'CircularSpinner' only supports upto Swift 3 only. pod 'CircularSpinner' 仅支持 Swift 3。 You must find an alternate for this library and my suggestion is你必须为这个图书馆找到一个替代品,我的建议是

pod 'UICircularProgressRing' pod 'UICircularProgressRing'

Take a look at https://github.com/luispadron/UICircularProgressRing .看看https://github.com/luispadron/UICircularProgressRing I have used this and it is very useful and highly customisable.我已经使用了它,它非常有用且高度可定制。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM