With Swift and XCode 6 you can do this.
Click the UIView element in Storyboard, and go to identity inspector. In the user defined runtime attributes, enter:
layer.borderWidth number 1
If you want nice looking corners
layer.cornerRadius number 5
layer.masksToBounds boolean true
Now this will give you a border but to set the colour you need to do it with code. Go to your view controller, and add an IBOutlet from your UIView. Say you do,
@IBOutlet weak var xView: UIView!
Call this in the viewDidLoad function like below to set the colour.
xView.layer.borderColor = UIColor.whiteColor().CGColor
Thanks!