adds method to return a uiview of a particular class from a nib