I am using 2 UIView to draw different objects in a xib file. There is a need to clear the view before drawing new objects for some actions. Initially,when object types are smaller in number, I have been using this:I am using 2 UIView to draw different objects i