How to copy an iOS 5.1 application, including a storyboard

I want to copy an iOS 5.0 application to a new application. In this process, I want to change the name of the application and enable the original storyboard.

I can, of course, copy and paste the entire project, but everything keeps the same project name. How to change the name of the project?

Is there any way to do this?

Thanks in advance.

+4
source share
1 answer

Step 1. Create a new Xcode project “My New Project” for your new application.

File -> New -> New Project 

Step 2: use Xcode to add files

 File -> Add Files to "My New Project" 

In the Add Files dialog box, select all the files you want to add. You may need to do this several times depending on how you organized things in your old project. Be sure to check the box next to "Copy items to destination group folder (if necessary)." DO NOT copy the old XCodeProject file (blue icon).

Update:

Storyboards are saved with the extension .storyboard . If you cannot find it, it may not be in your Project Xcode folder on the file system. (I know that I lost things while trying to collect different things to copy resources between projects.) Open your old project, find the file in the Xcode Navigator Area, Option-Click and select "Show in Finder". Then you can copy it there. I was able to do this just now in Xcode 4.2.

+6
source

Source: https://habr.com/ru/post/1401166/


All Articles