Code Monkey home page Code Monkey logo

gradientcircularprogress's People

Contributors

elder004 avatar keygx avatar sora0077 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gradientcircularprogress's Issues

error happens when submit to app store

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."

Framework was built for x86_64 warning

I received a warning from Xcode complaining about the framework being build for x86_64, but not the architecture being linked:

untitled

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!

iOS 12 issues with Xcode10

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:

  • = #39 which is reported here
  • = Type 'UIWindow.Level' (aka 'CGFloat') has no member 'alert'
 //  BaseWindow.swift
...
       backgroundColor = UIColor.clear
        windowLevel = UIWindow.Level.alert + 1
        
        makeKey()

// CircularProgressView.swift

  • = 'didEnterBackgroundNotification' has been renamed to 'NSNotification.Name.UIApplicationDidEnterBackground'
        NotificationCenter.default.addObserver(self,
                                               selector: #selector(viewDidEnterBackground(_:)),
                                               name: UIApplication.didEnterBackgroundNotification,
                                               object: nil)
  • = 'willEnterForegroundNotification' has been renamed to 'NSNotification.Name.UIApplicationWillEnterForeground'
//  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.

Manual Install?

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:

untitled

I am receiving this error in BackgroundTransparentStyle.swift:

untitled

Do you happen to know what else I am missing?

Thanks!

PS: I've also copied the framework, but to no avail.

installing using CocoaPods

Hello, when I tried install through CocoaPods I get this message "Unable to find a specification for GradientCircularProgress"

any help

Error with CocoaPods 1.0.0-beta6

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.

Rounder border at the end of the arc

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...

Is Swift 3 not ready?

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.

Compiler error after update

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'

Unable to install with CocoaPods

I receive the following error:

[!] Error installing GradientCircularProgress
[!] Failed to download 'GradientCircularProgress'.

Carthage error Xcode 7.3.1

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)

Carthage update failed

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)

Add Label

How can I add a Labe above or below the Progress?
To show a message, what ist going on :)

dismiss progress immediately

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.