简体   繁体   中英

App Default ViewController name is not changing in xcode 10.3

I have made new project then deleted the ViewController from Main.StoryBoard then added a new TableViewController view to storyboard make it initial viewcontroller and then in viewcontroller.swift file make it subclass to UITableViewController. And change view controller to ToDoListViewController.

Now the problem is if I am trying to change the ViewController.swift filename to ToDoListviewController it gives me error

"Could not rename “ViewController.swift” to “ToDoListViewController.swift”."

I have tried changing it from Identity and Type also but same error.

在此处输入图片说明 Thanks in advance

Restart your xcode (Force Quit). Maybe helped

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM