How to add a button with border to storyboard in Xcode 6
31,588
You can add Runtime Attribute in storyboard
select your button
Author by
James
Updated on August 13, 2020Comments
-
James almost 4 years
I wanna create a button with border in Xcode 6. For instance, I want it to look like the buttons from this library - https://github.com/a1anyip/AYVibrantButton - without any special visual effects. Is it possible to achieve this by doing some setup in IB without writing any code? Thanks.
-
James about 9 yearsThanks a lot but how do I change the width of the button?
-
James about 9 yearsI think I get it. Now is it possible to change the border color or some further properties?
-
Leo about 9 yearsAlmost all property of button can be set here. Here is tech of KVC.
-
Matthew Lock over 7 yearsThanks. Kind of ugly that there's no autocomplete for those properties in Xcode and you can't see the border until you run it.