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

RTSpinView as iBoutlet with contraint not working #25

Open
cuddle-sujeet opened this issue Jul 2, 2018 · 0 comments
Open

RTSpinView as iBoutlet with contraint not working #25

cuddle-sujeet opened this issue Jul 2, 2018 · 0 comments

Comments

@cuddle-sujeet
Copy link

I tried creating a spinner view in the view controller via xib using IBOutlet and in its didSet set up its style.
@IBOutlet weak var testSpinner:RTSpinKitView! {
didSet {
testSpinner.style = .styleThreeBounce
testSpinner.color = .red
testSpinner.startAnimating()
}
}

but I am not able to see the spinner on the view.
I intend to start/stop the spinner after some service response.
Note:- the constraints are not failing.

Am I messing-up the spinner layer by using constraint? because When I give frame to spinner using CGrectMake() I am able to see the spinner.

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

1 participant