If you just want to add borders to an UIView I think QuartzCore is the way to go. Here's an example:
view.layer.borderWidth = 1.0f;
view.layer.borderColor = [UIColor darkGrayColor].CGColor;
view.layer.cornerRadius = 2.0f;
Just remember to import QuartzCore (#import <QuartzCore/QuartzCore.h>
). Also take a look at CALayer documentation, there are a lot other things you can do.
Good Luck!