Closed sneps85 closed 9 years ago
Hello,
I just constructed a similar example in IB that seems to run just fine
I also tried creating an instance of KDCircularProgress
with CGRectZero
as the frame. That did not cause any problems either.
Please create an example project that crashes for me to look at. Please feel free to reopen this when you get a reproducible example.
Thank you :)
When no height and width constraint is set on the IB, but instead top,right,bottom,left constraints in combination with a aspect ratio constraint, the following code causes the crash:
let g = CGGradientCreateWithColorComponents(baseSpace, componentsArray, locations,componentsArray.count / 4) self.gradientCache = g gradient = g!
as g is nil.
Do i have to set height and width in the interface builder?