Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IB_DESIGNABLE for CircleProgressBar Not Working #10

Closed
talezion opened this issue Mar 3, 2016 · 1 comment
Closed

IB_DESIGNABLE for CircleProgressBar Not Working #10

talezion opened this issue Mar 3, 2016 · 1 comment

Comments

@talezion
Copy link

talezion commented Mar 3, 2016

The IB_DESIGNABLE for CircleProgressBar not working. I am using XCode 7 and Swift 2.0. I did get it to work when adding IBInspectable to each property. See below:

`/// @brief Width of Progress Bar
@Property (nonatomic) IBInspectable CGFloat progressBarWidth;
/// @brief Progress color in Progress Bar
@Property (nonatomic) IBInspectable UIColor *progressBarProgressColor;
/// @brief Track color in Progress Bar
@Property (nonatomic) IBInspectable UIColor *progressBarTrackColor;
/// @brief Start Angle
@Property (nonatomic) IBInspectable CGFloat startAngle;

/// @brief Whether HintView should be shown or not
@Property (nonatomic) IBInspectable BOOL hintHidden;
/// @brief Inner spacing between Progress Bar and Hint View
@Property (nonatomic) IBInspectable CGFloat hintViewSpacing;
/// @brief Hint View Background Color
@Property (nonatomic) IBInspectable UIColor *hintViewBackgroundColor;
/// @brief Hint View Text Font
@Property (nonatomic) IBInspectable UIFont *hintTextFont;
/// @brief Hint View Text Color
@Property (nonatomic) IBInspectable UIColor *hintTextColor;`

@Eclair
Copy link
Owner

Eclair commented Apr 28, 2016

Tested in new environment - works. IBInspectable also available in new version. Thanks for contribution!

@Eclair Eclair closed this as completed Apr 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants