How to quickly clone xib and viewcontroller?

I am going to create a new xib that is very similar to the existing one. Instead, there will be a blank new on the box, copy the UI elements and IoCutlets viewcontroller elements; is there a quick way to clone the xib with the appropriate new viewcontroller class?

thanks

+2


a source to share


1 answer


Go to Finder and duplicate the xib file. Open it in IB and connect File Owner to the new view controller class.



+7


a source







All Articles