Reputation:
I started ProjectB
, which is very similar to ProjectA
that I had done previously.
So I wanted to use about 75% of the same ViewControllers
and code for ProjectB
that I had already created in ProjectA
. So I added the files to ProjectB
.
For whatever reason, when I'm making changes in my ProjectB
files that I pulled from ProjectA
, they are actually updating the ProjectA
files too, and vice versa.
I'm not really sure how to get that to stop happening. I assumed once the files got into ProjectB
, they would be silo'd only in ProjectB
now.
But thats not happening. And if I right click on WebViewControllerA.m
file that is inside of ProjectB
to "Show in Finder", it points to the ProjectA
folder.
I can't figure out how to just make ProjectB
files a separate entity. Can you help? Thanks!
Upvotes: 2
Views: 156
Reputation: 6112
This is because Xcode creates references as default. You should copy the files you want from project A to edit in project B
Upvotes: 2