Monthly Archive:: January 2014

UIView with Selective Borders

Want to do something like this? Or this? UIView lets you add a border on all edges easily like: myView.layer.borderWidth = 1.0f; myView.layer.borderColor = .CGColor; But CALayer does not support selective borders out of the box. That’s why I created a simple open source UIView subclass available on github here: … Read more