Yes, I use that a lot but question like this was already answered many times.
But anyway in Interface Builder.
You need to add User Defined Runtime Attributes like this:
layer.masksToBounds Boolean YES
layer.cornerRadius Number {View's Width/2}
and enable
Clips subviews
Results: