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

Duplication Issue #1

Closed
zholbrook opened this issue Nov 22, 2014 · 6 comments
Closed

Duplication Issue #1

zholbrook opened this issue Nov 22, 2014 · 6 comments

Comments

@zholbrook
Copy link

I am trying to have 2+ instances of the circle progress view in my app, but while creating the second instance xcode will lockup and never recover. Any guidance would be appreciated.

@xrolfex
Copy link
Contributor

xrolfex commented Nov 24, 2014

Are you using it in Interface Builder?

@xrolfex xrolfex closed this as completed Dec 15, 2014
@slashignore
Copy link

I actually have the same problem, I'm not using it in Interface Builder. I'm using it in a Objc code base.

@ertanunver
Copy link
Contributor

Same issue...

@ertanunver
Copy link
Contributor

I fixed it.

We have to use non static variables to create multiple instances.

https://github.com/ertanunver/iOS-CircleProgressView/blob/9060b5ca5e5949de9cf99703d342e9e700a3aa31/ProgressView/CircleProgressView.swift

@xrolfex
Copy link
Contributor

xrolfex commented Dec 18, 2014

If you want to create a pull request, I'll merge the changes in.

@xrolfex xrolfex reopened this Dec 18, 2014
@xrolfex
Copy link
Contributor

xrolfex commented Dec 18, 2014

ertanunver's pull request merged in to fix the multiple instance issue, thanks for the help.

@xrolfex xrolfex closed this as completed Dec 18, 2014
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

4 participants