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.
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.