Git Product home page Git Product logo

mbcircularprogressbar's People

Contributors

djdiaz avatar jwardle avatar matibot avatar reneb avatar softeqdg avatar thorntonbm 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mbcircularprogressbar's Issues

MBCircularProgressBar in Swift

Failed to render and update auto layout status for ViewController (3ER-ba-6G7): dlopen(MBCircularProgressBar.framework, 1): no suitable image found. Did find: MBCircularProgressBar.framework: required code signature missing for 'MBCircularProgressBar.framework'. When Add the MBCircularProgressBar Class to view this Error Show.Please help me. Thanks

Unable to update font

Hi,

In my app, I have functionality to update font, but _dataComsumedView (object of MBCircularProgressBar) does not update font.
`- (void)updateFont {
// Create and share access to an NSUserDefaults object
NSUserDefaults *mySharedDefaults = [[NSUserDefaults alloc] initWithSuiteName:GROUP_NAME];
if (![mySharedDefaults objectForKey:DEFAULT_FONT_NAME]) {
[mySharedDefaults setObject:@"AvenirNext-Medium" forKey:DEFAULT_FONT_NAME];
[mySharedDefaults synchronize];
}
NSString *fontName = [mySharedDefaults objectForKey:DEFAULT_FONT_NAME];

BOOL needToUpdateFont = NO;

if (!_currentFont || (_currentFont && ![_currentFont isEqualToString:fontName])) {
    _currentFont = fontName;
    needToUpdateFont = YES;
}

if (needToUpdateFont) {
    [_dataComsumedView setValueFontName:fontName];
    [_dataComsumedView setUnitFontName:fontName];
}

}`

Compilation error when integrating via Carthage using option --no-use-binaries

When integrating the lib using Carthage and building dependencies from sources (using flag --no-use-binaries) the compilation fails due to invalid bundle with assets.

The root cause of this issue is that shared scheme with dynamic framework (that Carthage is using) is in fact a auto-generated Cocoapod scheme. So without running pod install the compilation will always fail.

To fix this we should create a standalone dynamic framework scheme, as opposed to re-using autogenerated scheme from Cocoapods.

Swift 4 support

Hi, are there plans to update to Swift 4 in the near future? Thank you.

Error: IB Designables No Suitable Image Found

I installed MBCircularProgressBar using Carthage. I'm facing the error below when using MBCircularProgressBar in Interface Builder.

error: IB Designables: Failed to render and update auto layout status for ViewController (BYZ-38-t0r): dlopen(MBCircularProgressBar.framework, 1): no suitable image found.  Did find:
MBCircularProgressBar.framework: required code signature missing for 'MBCircularProgressBar.framework'

I tried removing ~/Library/Developer/Xcode/DerivedData/ then cleaning and rebuilding project. However, the issue persists.

Using Xcode 9.3.1 and Swift 4

Indeterminate Animation

Is there a way to make the progress indicator spin around if you can not determine a value for the progress? For example, downloading a file that you don’t know the length of.

Pod doesn't include setValue:animateWithDuration:

I installed with Cocoapods, but the setValue:animateWithDuration: method is not included in the files. I downloaded the source and installed it manually however. Not an expert on Cocoapods, but maybe the podspec needs to be updated?

Receive serious memory warning!

if the ture value is farstly bigger than the max value ,the demo will continue draw the progress line ,which will lead to the serious memeory warning of iPhone simulator

Add animation completion block

I need to know when the animation is complete. It would be wonderful if you could add another method that supports completion: setValue:animated:completion. I'm looking into it but it seems more difficult with implicit animation.

Proper way to "pause" progress bar?

I have integrated this progress bar in my app alongside a timer however one area that is really getting me stuck is properly "pausing" this progress bar. For example, if the bar is 48% filled to its max value, how can I stop it at one instance and then later on resume it where it begins from 48%?

I mostly am trying to do this so I can have a pause/resume feature with the timer however my home-cooked approach is very finicky and not very conducive.

Not able to submit my app to store because of CFBundleExecutable Key error.

Here is the error:

ERROR ITMS-90535: "Unexpected CFBundleExecutable Key. The bundle at 'Payload/Telematics.app/Frameworks/MBCircularProgressBar.framework/MBCircularProgressBar.bundle' does not contain a bundle executable. If this bundle intentionally does not contain an executable, consider removing the CFBundleExecutable key from its Info.plist and using a CFBundlePackageType of BNDL. If this bundle is part of a third-party framework, consider contacting the developer of the framework for an update to address this issue."
ERROR ITMS-90535: "Unexpected CFBundleExecutable Key. The bundle at 'Payload/Telematics.app/Frameworks/MBCircularProgressBar.framework/MBCircularProgressBar.bundle' does not contain a bundle executable. If this bundle intentionally does not contain an executable, consider removing the CFBundleExecutable key from its Info.plist and using a CFBundlePackageType of BNDL. If this bundle is part of a third-party framework, consider contacting the developer of the framework for an update to address this issue."

Q: How to display float value?

Hi all,
from the question, I can only display the int value,
in my case I need float, so, Is there a way to solve my problem?
thx!

no suitable image found in swift

error: IB Designables: Failed to render and update auto layout status for wheatherViewController (3ER-ba-6G7): dlopen(MBCircularProgressBar.framework, 1): no suitable image found. Did find:
MBCircularProgressBar.framework: required code signature missing for 'MBCircularProgressBar.framework'

Carthage update fail

*** Building scheme "MBCircularProgressBar" in MBCircularProgressBar.xcworkspace
Build Failed
	Task failed with exit code 65:
	/usr/bin/xcrun xcodebuild -workspace /Users/rJaspur/Code/Swift/Test/MijnBewijsstukken/MijnBewijsstukken/Carthage/Checkouts/MBCircularProgressBar/Example/MBCircularProgressBar.xcworkspace -scheme MBCircularProgressBar -configuration Release -derivedDataPath /Users/rJaspur/Library/Caches/org.carthage.CarthageKit/DerivedData/MBCircularProgressBar/0.3.4 -sdk iphonesimulator -destination platform=iOS\ Simulator,id=71393AA9-848E-42BB-A478-ECEBAC1296F4 -destination-timeout 3 ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean build

This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/kq/92sqq9ps5j78dxyf062tzchm0000gn/T/carthage-xcodebuild.EsGQem.log

Ring Borders

Would it be possible to have a border drawn similar to the attached image?

image

Update layout bug

When I try to change color without changing a value, it doesn't update the displayed bar color. I use it in uitableview.
It is annoying but fortunately, I can force-update just changing value every time.

Clear color background appearing black

When i attempt to set the background view color to clearColor the background of the progress bar appears black-- because I am setting this up over a static image I cannot use the workaround of setting the background color to the same background as the parent view. Please advise on possible work arounds or if I am using the class incorrectly.

Animation inside UITableView

Seems animation doesn't work if I place the instance of progress bar in custom cell and call setValue with animationWithDuration

Edit: it works when scrolling but not sure how to make it visible in first load. Anyhow, I think this can be closed as it is not this code issue. Thank you!

@IBDesignable

I add use_frameworks! in my podfile using interface builder but other libraries are affected them.
It show an error which is header files don't find.

Crash on Xcode 6.4

Hi, I'm using your lib to make a progress bar for my app, and unfortunately, my Xcode has been crashed when trying to switch to another tab or other files.

screen shot 2015-08-18 at 11 34 19 am
Crash appears when click on another tab

NSTextAlignmentCenter not working

Hi,

I forked your project because I wanted the unit to be in a new line. The problem is that I aligned it with NSTextAlignmentCenter but it's not working. The alignment is always left. Is there any workaround?

IB Designables Warnings

Hi Mati,

First I would like to tell you that your framework is really awesome!

But I'm meeting some warning every time I update a value in Interface Builder.
All the properties are rising an exception of this kind.

warning: IB Designables: Ignoring user defined runtime attribute for key path "maxValue" on instance of "UIView". Hit an exception when attempting to set its value: [<UIView 0x7fc911624cd0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key maxValue.

Is there is a way we can disable IBDesignable, or do you have a solution to fix this issue ?

Steven.

Xcode 9 ibdesignable issue

I can not use interface builder with component. it cause crash on it.

error: IB Designables: Failed to render and update auto layout status for ... (iN0-l3-epB): dlopen(MBCircularProgressBar.framework, 1): no suitable image found. Did find:
MBCircularProgressBar.framework: required code signature missing for 'MBCircularProgressBar.framework'

Unit String at the right side of value lable

Thanks for this awesome Control.
How can we put unit string at the left side to use the animation feature of value change, in my case I need to show

$0 to $100

so $ is the unit and it must be at the left side of the value.

Please suggest.

ProgressBar only appears when the tableview cell is selected

I added MBCircularProgressBar to my tableview cell and set its value in cellForRowAtIndexPath using myCell.progressBar.value = 25 I want the progressBar to appear in all tableview cells (when selected or not) but it's only appearing in the tableview cell that's selected, not the rest of the cells. Any ideas?

Failed to load designable from path(null)

I am getting this error while assigning MBCircularProgressBarView class to UIView.

Failed to render the instance of MBCircularProgressBarView. Failed to load designable from path(null)

Progresscolor Gradient

Hi, Thanks for this awesome Control.

How to set a progressColor gradient color?

Best Regards.

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.