Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to rename a UIViewController and its xib [duplicate]

I am using iOS 5 and Xcode 4.2. In my project i have a UIViewController with xib. Now i want to give seperate name for UIViewController and xib.

Is it Possible?

After changing the name of UIViewController the controllers showing warning and i can not connect connect controllers to this class.

like image 722
AKS Avatar asked Sep 10 '13 07:09

AKS


1 Answers

Within your header file (SomeViewController.h), highlight the class name and from Xcode menu > Edit > Refactor > Rename

And follow the on screen instructions.

Good Luck.

like image 111
Desdenova Avatar answered Sep 21 '22 22:09

Desdenova