Procedures for renaming iOS files and for renaming ios files
Modify the class Name:
1. Double-click the selected class name in the header file: @ interface is the class name (if not selected, the rename option will be in the disable State );
2. select Edit-Refactor-Rename In the toolbar;
3. After the name is changed, preview all the changes that will occur, select the required changes, and Save the changes.
Reference: http://stackoverflow.com/questions/992381/rename-a-class-in-xcode-refactor-is-grayed-out-disabled-why
How to open a file whose file type is "renamed"
First Open "my computer", find "Tools" in the top menu bar, click "Folder Options", and click the "View" tab. drag down in advanced settings, find the option "Hide extensions of known file types" and remove the check box.
Else"
How to rename and delete files in C language?
In the <stdio. h> package, there are two functions that can meet your requirements:
Note: The files for these two function operations must be closed; otherwise, the execution will fail. If the execution fails, you can compare the values of errno to determine the cause of the failure.
Rename:
Int rename (const char * oldname, const char * newname );
Parameter description:
Oldname: original file name
Newname: New File Name (you can specify a Global Path to move the file)
Return Value:
0: Successful
-1: Failed. Set the global variable errno to the error code.
Delete:
Int remove (const char * filename );
Parameter description:
Filename: name of the file to be deleted
Return Value:
0: Successful
-1: Failed. Set the global variable errno to the error code.