简体   繁体   中英

How do I stop Xcode from letting me edit old projects in new projects

I am new to Xcode and have been trying to make various projects to get acquainted with it. So I have this one project called calc and it is a calculator. Now I'm trying to make another calculator app that is different but when I'm making the code in viewcontroller.h I will type similar lines of code and when I do it indicates with a little grey dot with a circle around it that I'm connected to my older project. When i click it it gives me links to other objects that are in different projects.

The dot:

在此处输入图片说明

That dot indicates that your IBOutlet is connected up to a xib file.

When you created your new project. Did you drag some old files into your new project? Then when you did that did you leave the

Copy items into destination group's folder (if needed)

check box unchecked? Because then you would have files that are from other projects. If you wanted a copy of the files you should check the previously mentioned check box when copying files across.

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