This Objective-C Category allow you to round top corners, bottom corners or all corners of a view. It also provides functionality to round corners and add border from Interface Builder. It is very handy and easy to use.
To use it in your project just copy UIView+RBView.h and UIView+RBView.m from Category folder to your project.