DEV Community

Avelyn Hyunjeong Choi
Avelyn Hyunjeong Choi

Posted on

Change class name in Xcode

Image description

1.create a new file
2.select Cocoa Touch Class
Image description
3.enter file name (firstVC)
Image description
4.go to main > click blue circle
Image description

5.change class name to file you just created (firstVC) in identity inspector > custom class > class
Image description

Image description

Now, class name is changed from ViewController -> firstVC
Image description

Top comments (0)