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

Sentry growth stunted Image

If you are wasting time trying to track down the cause of a crash, it’s time for a better solution. Get your crash rates to zero (or close to zero as possible) with less time and effort.

Try Sentry for more visibility into crashes, better workflow tools, and customizable alerts and reporting.

Switch Tools 🔁

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay