Reputation: 2237
So I need to set the cornerRadius of my button to its own width squared. I know I can do this programmatically, but I need to do it in the storyboard (dev team standards).
So basically I need to do this:
bigCircle.layer.cornerRadius = bigCircle.bounds.size.width ^ 2
In here:
How do I do this?
Upvotes: 1
Views: 170
Reputation: 287
I don't believe that's possible. A runtime attributes value must be a constant, not a variable / property.
Upvotes: 1