Domanda

When I create a new project and copy paste code from the old project, the target action link between the pasted method and storyboard in the old project will be added.

But I don't want the old action target link. If I click on the target action dot on the left side of method, it'll bring me to the storyboard in the old project.

So far, my way to fix it is modify method's name, like "foo" to "foo2". Is there a better solution?

È stato utile?

Soluzione

Use Add Files to <your project> to wipe out all unnecessary dependencies.

Altri suggerimenti

You could always just delete the connection and reconnect it to the new action target, or maybe putting it into something like notepad++ first (havnt tried that, just a thought)

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top