keygx / gradientcircularprogress Goto Github PK
View Code? Open in Web Editor NEWCustomizable progress indicator library in Swift
License: MIT License
Customizable progress indicator library in Swift
License: MIT License
I received a warning from Xcode complaining about the framework being build for x86_64, but not the architecture being linked:
This warning only occurs when I load the library on a real device, and does not exist when loading to a simulator.
I know this is just a warning, but can this be resolved? I just hate warnings :)
Thanks for the great library!
BaseWindow without argument will no longer be accepted in iOS13.
I receive the following error:
[!] Error installing GradientCircularProgress
[!] Failed to download 'GradientCircularProgress'.
Hey, is it possible to set the arc to finish with round border?
It should be possible just adding: myPath.lineJoinStyle = kCGLineJoinRound
to the arc path...
I am getting a following error when I execute Carthage update command in terminal.
I am not sure how to proceed. I just updated to the newest version of Xcode which looks like might caused the problem.
*** Building scheme "GradientCircularProgress" in GCProgressSample.xcodeproj
** BUILD FAILED **
The following build commands failed:
CompileSwift normal x86_64 /Users/janusz/Desktop/Repositories/twoKApp/Carthage/Checkouts/GradientCircularProgress/GCProgressSample/GradientCircularProgress/Progress/Property.swift
CompileSwift normal x86_64 /Users/janusz/Desktop/Repositories/twoKApp/Carthage/Checkouts/GradientCircularProgress/GCProgressSample/GradientCircularProgress/GradientCircularProgress.swift
CompileSwift normal x86_64 /Users/janusz/Desktop/Repositories/twoKApp/Carthage/Checkouts/GradientCircularProgress/GCProgressSample/GradientCircularProgress/Progress/GradientArcView.swift
CompileSwift normal x86_64 /Users/janusz/Desktop/Repositories/twoKApp/Carthage/Checkouts/GradientCircularProgress/GCProgressSample/GradientCircularProgress/Progress/ProgressAtRatioView.swift
CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler
(5 failures)
/Users/janusz/Desktop/Repositories/twoKApp/Carthage/Checkouts/GradientCircularProgress/GCProgressSample/GradientCircularProgress/GradientCircularProgress.swift:76:22: error: '#' has been removed from Swift; double up 'message message' to make the argument label the same as the parameter name
/Users/janusz/Desktop/Repositories/twoKApp/Carthage/Checkouts/GradientCircularProgress/GCProgressSample/GradientCircularProgress/GradientCircularProgress.swift:85:30: error: '#' has been removed from Swift; double up 'message message' to make the argument label the same as the parameter name
/Users/janusz/Desktop/Repositories/twoKApp/Carthage/Checkouts/GradientCircularProgress/GCProgressSample/GradientCircularProgress/Progress/Property.swift:15:38: error: use of unresolved identifier 'kCGLineCapButt'
/Users/janusz/Desktop/Repositories/twoKApp/Carthage/Checkouts/GradientCircularProgress/GCProgressSample/GradientCircularProgress/GradientCircularProgress.swift:76:22: error: '#' has been removed from Swift; double up 'message message' to make the argument label the same as the parameter name
/Users/janusz/Desktop/Repositories/twoKApp/Carthage/Checkouts/GradientCircularProgress/GCProgressSample/GradientCircularProgress/GradientCircularProgress.swift:85:30: error: '#' has been removed from Swift; double up 'message message' to make the argument label the same as the parameter name
/Users/janusz/Desktop/Repositories/twoKApp/Carthage/Checkouts/GradientCircularProgress/GCProgressSample/GradientCircularProgress/GradientCircularProgress.swift:76:22: error: '#' has been removed from Swift; double up 'message message' to make the argument label the same as the parameter name
/Users/janusz/Desktop/Repositories/twoKApp/Carthage/Checkouts/GradientCircularProgress/GCProgressSample/GradientCircularProgress/GradientCircularProgress.swift:85:30: error: '#' has been removed from Swift; double up 'message message' to make the argument label the same as the parameter name
/Users/janusz/Desktop/Repositories/twoKApp/Carthage/Checkouts/GradientCircularProgress/GCProgressSample/GradientCircularProgress/Progress/GradientArcView.swift:45:13: warning: initialization of immutable value 'a0' was never used; consider replacing with assignment to '_' or removing it
/Users/janusz/Desktop/Repositories/twoKApp/Carthage/Checkouts/GradientCircularProgress/GCProgressSample/GradientCircularProgress/GradientCircularProgress.swift:76:22: error: '#' has been removed from Swift; double up 'message message' to make the argument label the same as the parameter name
/Users/janusz/Desktop/Repositories/twoKApp/Carthage/Checkouts/GradientCircularProgress/GCProgressSample/GradientCircularProgress/GradientCircularProgress.swift:85:30: error: '#' has been removed from Swift; double up 'message message' to make the argument label the same as the parameter name
A shell task failed with exit code 65:
** BUILD FAILED **
The following build commands failed:
CompileSwift normal x86_64 /Users/janusz/Desktop/Repositories/twoKApp/Carthage/Checkouts/GradientCircularProgress/GCProgressSample/GradientCircularProgress/Progress/Property.swift
CompileSwift normal x86_64 /Users/janusz/Desktop/Repositories/twoKApp/Carthage/Checkouts/GradientCircularProgress/GCProgressSample/GradientCircularProgress/GradientCircularProgress.swift
CompileSwift normal x86_64 /Users/janusz/Desktop/Repositories/twoKApp/Carthage/Checkouts/GradientCircularProgress/GCProgressSample/GradientCircularProgress/Progress/GradientArcView.swift
CompileSwift normal x86_64 /Users/janusz/Desktop/Repositories/twoKApp/Carthage/Checkouts/GradientCircularProgress/GCProgressSample/GradientCircularProgress/Progress/ProgressAtRatioView.swift
CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler
(5 failures)
I updated to CocoaPods Version 1.0.0.
When I try to install my pods I get this error:
Pre-downloading: GradientCircularProgress
from https://github.com/keygx/GradientCircularProgress
[!] The GradientCircularProgress
pod failed to validate due to 1 error:
- ERROR | attributes: Missing required attribute summary
.
how can i embed the circle inside a view?
Sorry for my poor English
I want to use this for view is storyboard.
How can I do it?
Hi guys,
awesome repository, we are using this for our application, thanks for sharing this.
I've been trying to build for iOS 12 under Xcode 10 and I'm having the following issues:
// BaseWindow.swift
...
backgroundColor = UIColor.clear
windowLevel = UIWindow.Level.alert + 1
makeKey()
// CircularProgressView.swift
NotificationCenter.default.addObserver(self,
selector: #selector(viewDidEnterBackground(_:)),
name: UIApplication.didEnterBackgroundNotification,
object: nil)
// CircularProgressView.swift
NotificationCenter.default.addObserver(self,
selector: #selector(viewWillEnterForeground(_:)),
name: UIApplication.willEnterForegroundNotification,
object: nil)
Do you want me to send a PR for these issues?
Thanks again.
Why there is always a delay before the progress got dismissed?
I see that the view gets dismissed withDuration: 0.3,
Is there any reason for that?
I want the progress to be dismissed immediately when I call dismiss
After I upgrade GradientCircularProgress var cocoa pod, the compiler error appear.
I clean and restart Xcode(Version 7.1.1), but not fix the problem.
XXXX/Pods/GradientCircularProgress/Source/IndicatorStyle.swift:10:15: Type 'IndicatorStyle' does not conform to protocol 'StyleProperty'
XXXX//Pods/GradientCircularProgress/Source/OrangeDarkStyle.swift:10:15: Type 'OrangeDarkStyle' does not conform to protocol 'StyleProperty'
It will be great to have a sort of BackgroundStyles.transparent
Is it possible ?
How can I add a Labe above or below the Progress?
To show a message, what ist going on :)
I have a Multiple commands produce error while install over pods in the folder there r the info.plist in source and support files. With Xcode 10
ERROR ITMS-90059: "This bundle Payload/csfsamradar.app/Frameworks/GradientCircularProgress.framework is invalid. The value for key CFBundleVersion [$(CURRENT_PROJECT_VERSION)] in the Info.plist file must be no longer than 18 characters."
i want to disable background in BlueIndicatorStyle
how can i?
Carthage/Checkouts/GradientCircularProgress/GCProgressSample/GradientCircularProgress/Progres** BUILD FAILED **
The following build commands failed:
CompileSwift normal arm64
CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler
(2 failures)
s/ProgressViewController.swift:40:47: error: getter for 'prefersStatusBarHidden' with Objective-C selector 'prefersStatusBarHidden' conflicts with method 'prefersStatusBarHidden()' from superclass 'UIViewController' with the same Objective-C selector
A shell task (/usr/bin/xcrun xcodebuild -project /Carthage/Checkouts/GradientCircularProgress/GCProgressSample/GCProgressSample.xcodeproj -scheme GradientCircularProgress -configuration Release -sdk iphoneos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean build) failed with exit code 65:
** BUILD FAILED **
The following build commands failed:
CompileSwift normal arm64
CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler
(2 failures)
hi, great library!
I am trying to manually install the files in my project, but there's no documentation regarding how to do so.
I would assume to copy all the files within the Sources/GradientCircularProgress folder, but I can't seem to import GradientCircularProgress
as Xcode can't find it.
Here's what I have in my project:
I am receiving this error in BackgroundTransparentStyle.swift
:
Do you happen to know what else I am missing?
Thanks!
PS: I've also copied the framework, but to no avail.
Hello, when I tried install through CocoaPods I get this message "Unable to find a specification for GradientCircularProgress
"
any help
Can you please update this library for swift 4.2 and Xcode 10?
I installed 3.4.1 and also tried 3.4.0 (the swift 3 branch). It seems theres still swift 2.2-swift 2.3 syntax.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.